Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001191/0.001191, allocations: 200.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.272/1.272, allocations: 227.2 MB / 245 MB, free: 5.758 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009067/0.0009064, allocations: 98.7 kB / 297.3 MB, free: 5.969 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.306/0.306, allocations: 45.23 MB / 394.7 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002741/0.0002741, allocations: 4 kB / 468.4 MB, free: 7.742 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3148, allocations: 63.25 MB / 0.5192 GB, free: 37.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1087/0.4236, allocations: 87.98 MB / 0.6051 GB, free: 15.49 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001981/0.4238, allocations: 71.95 kB / 0.6052 GB, free: 15.42 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004334/0.4282, allocations: 1.764 MB / 0.6069 GB, free: 13.65 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4282, allocations: 0 / 0.6069 GB, free: 13.65 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.4282, allocations: 4 kB / 0.6069 GB, free: 13.64 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005109/0.4287, allocations: 411 kB / 0.6073 GB, free: 13.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.4288, allocations: 12.03 kB / 0.6073 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.133e-05/0.4288, allocations: 11.81 kB / 0.6073 GB, free: 13.17 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.429, allocations: 171 kB / 0.6075 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.429, allocations: 4 kB / 0.6075 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.429, allocations: 11.94 kB / 0.6075 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003592/0.4294, allocations: 141.5 kB / 0.6076 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.4294, allocations: 0 / 0.6076 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.4294, allocations: 0 / 0.6076 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.4294, allocations: 4 kB / 0.6076 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000337/0.4298, allocations: 131.9 kB / 0.6077 GB, free: 12.67 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007083/0.4305, allocations: 487.2 kB / 0.6082 GB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.4307, allocations: 98.47 kB / 0.6083 GB, free: 12.03 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.4308, allocations: 0 / 0.6083 GB, free: 12.03 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.4308, allocations: 30.56 kB / 0.6083 GB, free: 11.99 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.4308, allocations: 0 / 0.6083 GB, free: 11.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008209/0.4316, allocations: 307.5 kB / 0.6086 GB, free: 11.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.4317, allocations: 51.41 kB / 0.6087 GB, free: 11.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.34e-05/0.4318, allocations: 113 kB / 0.6088 GB, free: 11.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.4318, allocations: 25.7 kB / 0.6088 GB, free: 11.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.164e-05/0.4319, allocations: 112.1 kB / 0.6089 GB, free: 11.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.4319, allocations: 19.73 kB / 0.6089 GB, free: 11.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.4319, allocations: 0 / 0.6089 GB, free: 11.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.432, allocations: 318.8 kB / 0.6092 GB, free: 11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.4322, allocations: 55.95 kB / 0.6093 GB, free: 10.94 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.4324, allocations: 61.67 kB / 0.6094 GB, free: 10.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.4325, allocations: 51.97 kB / 0.6094 GB, free: 10.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.4325, allocations: 0 / 0.6094 GB, free: 10.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004104/0.4329, allocations: 166.6 kB / 0.6096 GB, free: 10.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.433, allocations: 10.59 kB / 0.6096 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.433, allocations: 0 / 0.6096 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000134/0.4331, allocations: 24.84 kB / 0.6096 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.4333, allocations: 35.94 kB / 0.6096 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009002/0.4342, allocations: 1.315 MB / 0.6109 GB, free: 9.129 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.4343, allocations: 23.94 kB / 0.6109 GB, free: 9.105 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.4343, allocations: 0 / 0.6109 GB, free: 9.105 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.256e-05/0.4344, allocations: 121.8 kB / 0.6111 GB, free: 8.977 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.4344, allocations: 3.906 kB / 0.6111 GB, free: 8.973 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.086e-05/0.4345, allocations: 12.44 kB / 0.6111 GB, free: 8.961 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.4345, allocations: 4 kB / 0.6111 GB, free: 8.957 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4345, allocations: 3.953 kB / 0.6111 GB, free: 8.953 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.4345, allocations: 0 / 0.6111 GB, free: 8.953 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.4347, allocations: 205.6 kB / 0.6113 GB, free: 8.703 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.4347, allocations: 0 / 0.6113 GB, free: 8.703 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.4348, allocations: 19.98 kB / 0.6113 GB, free: 8.684 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.535e-05/0.4349, allocations: 20.84 kB / 0.6113 GB, free: 8.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.4349, allocations: 4 kB / 0.6113 GB, free: 8.656 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008478/0.4358, allocations: 1.312 MB / 0.6126 GB, free: 7.215 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4358, allocations: 3.953 kB / 0.6126 GB, free: 7.211 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004597/0.4362, allocations: 260.2 kB / 0.6128 GB, free: 6.938 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.162e-05/0.4363, allocations: 89.05 kB / 0.6129 GB, free: 6.832 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.4363, allocations: 3.953 kB / 0.6129 GB, free: 6.828 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.4364, allocations: 19.97 kB / 0.613 GB, free: 6.809 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.4365, allocations: 4 kB / 0.613 GB, free: 6.805 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.4365, allocations: 4 kB / 0.613 GB, free: 6.801 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.379e-05/0.4366, allocations: 95.27 kB / 0.6131 GB, free: 6.707 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4366, allocations: 0 / 0.6131 GB, free: 6.707 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000236/0.4368, allocations: 23.91 kB / 0.6131 GB, free: 6.684 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001059/0.4369, allocations: 99.23 kB / 0.6132 GB, free: 6.578 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005356/0.4375, allocations: 226.6 kB / 0.6134 GB, free: 6.344 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4375, allocations: 0 / 0.6134 GB, free: 6.344 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002533/0.4377, allocations: 170.7 kB / 0.6136 GB, free: 6.164 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.4379, allocations: 7.984 kB / 0.6136 GB, free: 6.156 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/0.4384, allocations: 254.4 kB / 0.6138 GB, free: 5.883 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.4387, allocations: 0.7004 MB / 0.6145 GB, free: 5.156 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.191e-05/0.4387, allocations: 12.17 kB / 0.6145 GB, free: 5.141 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.4387, allocations: 7.438 kB / 0.6145 GB, free: 5.133 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4387, allocations: 3.938 kB / 0.6145 GB, free: 5.129 MB / 426.7 MB Notification: Performance of Templates: time 0.002903/0.4416, allocations: 0.9369 MB / 0.6154 GB, free: 4.199 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches