Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001268/0.001268, allocations: 202.6 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.24/1.24, allocations: 227.2 MB / 245 MB, free: 7.594 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008246/0.0008246, allocations: 96.2 kB / 297.3 MB, free: 6.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3269/0.3269, allocations: 45.23 MB / 394.7 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002612/0.0002612, allocations: 8 kB / 468.4 MB, free: 7.703 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3478, allocations: 63.24 MB / 0.5192 GB, free: 43.82 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1116/0.4594, allocations: 94.23 MB / 0.6112 GB, free: 11.37 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.4597, allocations: 87.94 kB / 0.6113 GB, free: 11.29 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06256/0.5222, allocations: 28.74 MB / 0.6394 GB, free: 14.23 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.5223, allocations: 0 / 0.6394 GB, free: 14.23 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.405e-05/0.5223, allocations: 19.94 kB / 0.6394 GB, free: 14.21 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002638/0.5249, allocations: 1.069 MB / 0.6404 GB, free: 13.09 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.525, allocations: 8.031 kB / 0.6404 GB, free: 13.08 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/0.5266, allocations: 246.7 kB / 0.6407 GB, free: 12.84 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.5269, allocations: 259.6 kB / 0.6409 GB, free: 12.54 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.5271, allocations: 78 kB / 0.641 GB, free: 12.46 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/0.5272, allocations: 100 kB / 0.6411 GB, free: 12.37 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.5288, allocations: 0.9126 MB / 0.642 GB, free: 11.43 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.234e-05/0.5288, allocations: 11.89 kB / 0.642 GB, free: 11.42 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.974e-05/0.5289, allocations: 39.94 kB / 0.642 GB, free: 11.38 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.819e-05/0.529, allocations: 31.98 kB / 0.642 GB, free: 11.35 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.5302, allocations: 0.7204 MB / 0.6428 GB, free: 10.63 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005388/0.5356, allocations: 4.122 MB / 0.6468 GB, free: 6.141 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002608/0.5382, allocations: 3.371 MB / 0.6501 GB, free: 2.121 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00017/0.5384, allocations: 178.5 kB / 0.6502 GB, free: 1.91 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.5385, allocations: 46.83 kB / 0.6503 GB, free: 1.855 MB / 458.7 MB Notification: Performance of pre-optimization done (n=66): time 2.615e-06/0.5385, allocations: 0 / 0.6503 GB, free: 1.855 MB / 458.7 MB Notification: Performance of matching and sorting (n=66): time 0.002669/0.5412, allocations: 1.314 MB / 0.6516 GB, free: 464 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.645e-05/0.5413, allocations: 136.5 kB / 0.6517 GB, free: 296 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000414/0.5417, allocations: 286 kB / 0.652 GB, free: 4 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.075e-05/0.5418, allocations: 37.64 kB / 0.652 GB, free: 15.96 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/0.5421, allocations: 402.3 kB / 0.6524 GB, free: 15.56 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000199/0.5423, allocations: 232.7 kB / 0.6526 GB, free: 15.33 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.432e-05/0.5423, allocations: 20 kB / 0.6526 GB, free: 15.31 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.5425, allocations: 354.8 kB / 0.653 GB, free: 14.95 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003689/0.5429, allocations: 193.9 kB / 0.6532 GB, free: 14.77 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004806/0.5434, allocations: 388.6 kB / 0.6535 GB, free: 14.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004485/0.5438, allocations: 259.2 kB / 0.6538 GB, free: 14.05 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.5438, allocations: 0 / 0.6538 GB, free: 14.05 MB / 474.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001525/0.5454, allocations: 0.8708 MB / 0.6546 GB, free: 13.17 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.5454, allocations: 8 kB / 0.6546 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.5454, allocations: 4 kB / 0.6546 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006443/0.5461, allocations: 231.7 kB / 0.6549 GB, free: 12.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004661/0.5465, allocations: 143.8 kB / 0.655 GB, free: 12.78 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005164/0.5517, allocations: 6.295 MB / 0.6611 GB, free: 5.945 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000539/0.5523, allocations: 95.05 kB / 0.6612 GB, free: 5.852 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.39e-05/0.5523, allocations: 28 kB / 0.6613 GB, free: 5.824 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003929/0.5527, allocations: 222.3 kB / 0.6615 GB, free: 5.598 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.5529, allocations: 39.53 kB / 0.6615 GB, free: 5.559 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.5541, allocations: 0.6818 MB / 0.6622 GB, free: 4.859 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.5541, allocations: 15.98 kB / 0.6622 GB, free: 4.844 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.5541, allocations: 8 kB / 0.6622 GB, free: 4.836 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.5541, allocations: 3.984 kB / 0.6622 GB, free: 4.832 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/0.5565, allocations: 1.551 MB / 0.6637 GB, free: 3.207 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.5565, allocations: 4.938 kB / 0.6637 GB, free: 3.203 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.5567, allocations: 67.91 kB / 0.6638 GB, free: 3.137 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005242/0.5573, allocations: 235.1 kB / 0.664 GB, free: 2.895 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.425e-05/0.5573, allocations: 15.94 kB / 0.664 GB, free: 2.879 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004853/0.5622, allocations: 6.292 MB / 0.6702 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.5622, allocations: 0 / 0.6702 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.5637, allocations: 1.214 MB / 0.6714 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.5638, allocations: 124.5 kB / 0.6715 GB, free: 10.65 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.386e-05/0.5639, allocations: 15.98 kB / 0.6715 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003232/0.5642, allocations: 16 kB / 0.6715 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.193e-05/0.5643, allocations: 59.81 kB / 0.6716 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-05/0.5644, allocations: 20.31 kB / 0.6716 GB, free: 10.54 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002555/0.5646, allocations: 214 kB / 0.6718 GB, free: 10.33 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5646, allocations: 0 / 0.6718 GB, free: 10.33 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001008/0.5657, allocations: 291.1 kB / 0.6721 GB, free: 10.05 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (coaxCylindersEndFaces.port_p.reference.gamma,halfCylinder.port_p.reference.gamma) * 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 (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002675/0.5659, allocations: 152.5 kB / 0.6722 GB, free: 9.891 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001512/0.5675, allocations: 1.08 MB / 0.6733 GB, free: 8.754 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5675, allocations: 0 / 0.6733 GB, free: 8.754 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008242/0.5683, allocations: 0.7833 MB / 0.674 GB, free: 7.918 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.5687, allocations: 32.69 kB / 0.6741 GB, free: 7.887 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/0.5712, allocations: 1.61 MB / 0.6756 GB, free: 6.246 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000542/0.5717, allocations: 0.9269 MB / 0.6765 GB, free: 5.289 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003002/0.572, allocations: 68.53 kB / 0.6766 GB, free: 5.219 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.085e-05/0.5721, allocations: 39.42 kB / 0.6766 GB, free: 5.18 MB / 490.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5721, allocations: 0 / 0.6766 GB, free: 5.18 MB / 490.7 MB Notification: Performance of Templates: time 0.01302/0.5852, allocations: 6.192 MB / 0.6827 GB, free: 15.05 MB / 0.4948 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches