Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001355/0.001355, allocations: 117 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001433/0.001433, allocations: 216.7 kB / 21.46 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2274/0.2274, allocations: 46.93 MB / 357.7 MB, free: 10.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 79.88 kB / 0.4917 GB, free: 7.777 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1521, allocations: 66.04 MB / 0.5561 GB, free: 5.605 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.004533/0.1566, allocations: 2.385 MB / 0.5585 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.1581, allocations: 0.6661 MB / 0.5591 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1582, allocations: 4 kB / 0.5591 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 9.94e-05/0.1583, allocations: 39.58 kB / 0.5592 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000223/0.1585, allocations: 75.33 kB / 0.5592 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000364/0.1589, allocations: 91.88 kB / 0.5593 GB, free: 2.32 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004364/0.1593, allocations: 343.3 kB / 0.5597 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003437/0.1597, allocations: 119.3 kB / 0.5598 GB, free: 1.867 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003154/0.16, allocations: 155.5 kB / 0.5599 GB, free: 1.715 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.1602, allocations: 155.4 kB / 0.5601 GB, free: 1.562 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.525e-05/0.1603, allocations: 36 kB / 0.5601 GB, free: 1.527 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.7e-05/0.1604, allocations: 36 kB / 0.5601 GB, free: 1.492 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.626e-05/0.1605, allocations: 63.83 kB / 0.5602 GB, free: 1.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.1607, allocations: 163.2 kB / 0.5604 GB, free: 1.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005021/0.1612, allocations: 378.5 kB / 0.5607 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1612, allocations: 0 / 0.5607 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1612, allocations: 0 / 0.5607 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.1612, allocations: 0 / 0.5607 GB, free: 0.8984 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001006/0.1622, allocations: 0.5886 MB / 0.5613 GB, free: 268 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1622, allocations: 8.031 kB / 0.5613 GB, free: 260 kB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.199e-05/0.1623, allocations: 8.844 kB / 0.5613 GB, free: 252 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.4e-05/0.1623, allocations: 70.72 kB / 0.5614 GB, free: 172 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002948/0.1626, allocations: 52.69 kB / 0.5614 GB, free: 120 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.1628, allocations: 197.2 kB / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.1629, allocations: 25.03 kB / 0.5616 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.726e-05/0.1629, allocations: 28.38 kB / 0.5617 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005181/0.1634, allocations: 285.9 kB / 0.5619 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1635, allocations: 0 / 0.5619 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.083e-05/0.1635, allocations: 12 kB / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.1635, allocations: 8 kB / 0.562 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004248/0.1639, allocations: 218.5 kB / 0.5622 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/0.1658, allocations: 1.021 MB / 0.5632 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.477e-05/0.1658, allocations: 38.52 kB / 0.5632 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.352e-05/0.1659, allocations: 20.92 kB / 0.5632 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.128e-06/0.1659, allocations: 0 / 0.5632 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.1659, allocations: 38.5 kB / 0.5633 GB, free: 14.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1659, allocations: 0 / 0.5633 GB, free: 14.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002183/0.1662, allocations: 77.53 kB / 0.5633 GB, free: 14.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.1662, allocations: 55.53 kB / 0.5634 GB, free: 13.97 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003933/0.1666, allocations: 322.8 kB / 0.5637 GB, free: 13.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.1666, allocations: 33.69 kB / 0.5637 GB, free: 13.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.1668, allocations: 227.5 kB / 0.5639 GB, free: 13.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.244e-05/0.1668, allocations: 11.95 kB / 0.5639 GB, free: 13.37 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.1669, allocations: 57.64 kB / 0.564 GB, free: 13.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.1671, allocations: 326.8 kB / 0.5643 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.1672, allocations: 63.97 kB / 0.5644 GB, free: 12.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.1674, allocations: 97.67 kB / 0.5645 GB, free: 12.81 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.1676, allocations: 121.7 kB / 0.5646 GB, free: 12.69 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1676, allocations: 7.938 kB / 0.5646 GB, free: 12.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004124/0.168, allocations: 226 kB / 0.5648 GB, free: 12.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.168, allocations: 7.938 kB / 0.5648 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.168, allocations: 0 / 0.5648 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.168, allocations: 8.031 kB / 0.5648 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003258/0.1684, allocations: 59.89 kB / 0.5649 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.1684, allocations: 3.938 kB / 0.5649 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.1686, allocations: 39.67 kB / 0.5649 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.1686, allocations: 8 kB / 0.5649 GB, free: 12.33 MB / 430.1 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 (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001322/0.1688, allocations: 137.8 kB / 0.5651 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.039e-05/0.1688, allocations: 23.8 kB / 0.5651 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.041e-05/0.1689, allocations: 28.89 kB / 0.5651 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.1689, allocations: 0 / 0.5651 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1689, allocations: 4 kB / 0.5651 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1689, allocations: 0 / 0.5651 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006813/0.1696, allocations: 0.5149 MB / 0.5656 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1696, allocations: 0 / 0.5656 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.26e-05/0.1696, allocations: 4 kB / 0.5656 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.1696, allocations: 0 / 0.5656 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.1696, allocations: 0 / 0.5656 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.1696, allocations: 4.062 kB / 0.5656 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1696, allocations: 4 kB / 0.5656 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.1698, allocations: 101.8 kB / 0.5657 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.044e-05/0.1698, allocations: 105 kB / 0.5658 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.1699, allocations: 3.984 kB / 0.5658 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.17, allocations: 0 / 0.5658 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.339e-05/0.17, allocations: 8.031 kB / 0.5658 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.17, allocations: 0 / 0.5658 GB, free: 11.28 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002621/0.1703, allocations: 221.9 kB / 0.566 GB, free: 11.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1703, allocations: 0 / 0.566 GB, free: 11.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002823/0.1706, allocations: 63.89 kB / 0.5661 GB, free: 11 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000467/0.171, allocations: 0.6481 MB / 0.5667 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002556/0.1713, allocations: 99.91 kB / 0.5668 GB, free: 10.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1713, allocations: 0 / 0.5668 GB, free: 10.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.632e-05/0.1713, allocations: 15.98 kB / 0.5669 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.1716, allocations: 16.89 kB / 0.5669 GB, free: 10.19 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/0.1745, allocations: 2.23 MB / 0.569 GB, free: 7.859 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.1749, allocations: 0.744 MB / 0.5698 GB, free: 7.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.175, allocations: 17.95 kB / 0.5698 GB, free: 7.074 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.1751, allocations: 71.41 kB / 0.5699 GB, free: 7.004 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1751, allocations: 4 kB / 0.5699 GB, free: 7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02169/0.1968, allocations: 4.237 MB / 0.574 GB, free: 2.879 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.491/8.688, allocations: 0 / 0.574 GB, free: 2.879 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.636687471007463]