Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002312/0.002312, allocations: 214.7 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.526/1.526, allocations: 230.6 MB / 257.5 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2592/0.2592, allocations: 46.94 MB / 360.8 MB, free: 4.305 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 59.91 kB / 0.4966 GB, free: 7.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5142/0.5163, allocations: 66.03 MB / 0.5611 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001796/0.5181, allocations: 495.1 kB / 0.5616 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003685/0.5218, allocations: 2.171 MB / 0.5637 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.883e-05/0.5218, allocations: 0 / 0.5637 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.038e-05/0.5218, allocations: 0 / 0.5637 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.946e-05/0.5218, allocations: 0 / 0.5637 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.5231, allocations: 410.7 kB / 0.5641 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.029e-05/0.5231, allocations: 0 / 0.5641 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.135e-05/0.5232, allocations: 4 kB / 0.5641 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.897e-05/0.5232, allocations: 4 kB / 0.5641 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02108/0.5443, allocations: 3.391 MB / 0.5674 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.5443, allocations: 4 kB / 0.5674 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.818e-05/0.5444, allocations: 4 kB / 0.5674 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.5444, allocations: 0 / 0.5674 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.624e-05/0.5444, allocations: 3.938 kB / 0.5674 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.5446, allocations: 19.97 kB / 0.5674 GB, free: 14.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.5446, allocations: 0 / 0.5674 GB, free: 14.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5446, allocations: 0 / 0.5674 GB, free: 14.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.5446, allocations: 0 / 0.5674 GB, free: 14.57 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003734/0.545, allocations: 234.4 kB / 0.5677 GB, free: 14.31 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.545, allocations: 8.031 kB / 0.5677 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002367/0.5453, allocations: 92.2 kB / 0.5678 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.5454, allocations: 181.8 kB / 0.5679 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.072e-05/0.5455, allocations: 158.8 kB / 0.5681 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.422e-05/0.5456, allocations: 158.7 kB / 0.5682 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.5457, allocations: 105 kB / 0.5683 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.302e-05/0.5458, allocations: 79.28 kB / 0.5684 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.381e-05/0.5458, allocations: 150.6 kB / 0.5685 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.954e-05/0.5459, allocations: 150.6 kB / 0.5687 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.562e-05/0.546, allocations: 154.6 kB / 0.5688 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.5464, allocations: 421 kB / 0.5692 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.5465, allocations: 169.1 kB / 0.5694 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.166e-05/0.5466, allocations: 84.08 kB / 0.5695 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.196e-05/0.5466, allocations: 75.28 kB / 0.5696 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.683e-05/0.5467, allocations: 113.8 kB / 0.5697 GB, free: 12.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.263e-06/0.5467, allocations: 0 / 0.5697 GB, free: 12.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001369/0.5469, allocations: 37.62 kB / 0.5697 GB, free: 12.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.547, allocations: 178.1 kB / 0.5699 GB, free: 11.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.5471, allocations: 93.86 kB / 0.57 GB, free: 11.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.5472, allocations: 25.7 kB / 0.57 GB, free: 11.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.741e-05/0.5472, allocations: 80.14 kB / 0.5701 GB, free: 11.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.995e-06/0.5472, allocations: 0 / 0.5701 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.495e-05/0.5473, allocations: 17.72 kB / 0.5701 GB, free: 11.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.5475, allocations: 315 kB / 0.5704 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.324e-06/0.5475, allocations: 0 / 0.5704 GB, free: 11.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.31e-05/0.5475, allocations: 13.7 kB / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.871e-05/0.5475, allocations: 75.28 kB / 0.5705 GB, free: 11.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.381e-05/0.5476, allocations: 79.28 kB / 0.5705 GB, free: 11.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 8.21e-05/0.5477, allocations: 33.58 kB / 0.5706 GB, free: 11.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.008e-05/0.5477, allocations: 83.28 kB / 0.5706 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.433e-05/0.5478, allocations: 79.31 kB / 0.5707 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001152/0.5479, allocations: 154.6 kB / 0.5709 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.178e-05/0.548, allocations: 79.22 kB / 0.5709 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.446e-05/0.5481, allocations: 158.6 kB / 0.5711 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.5482, allocations: 83.2 kB / 0.5712 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.012e-05/0.5482, allocations: 75.28 kB / 0.5712 GB, free: 10.44 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * 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.0001862/0.5484, allocations: 272.3 kB / 0.5715 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.966e-05/0.5485, allocations: 104.9 kB / 0.5716 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.279e-05/0.5486, allocations: 115.7 kB / 0.5717 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.8e-05/0.5487, allocations: 188.2 kB / 0.5719 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.266e-05/0.5487, allocations: 180.2 kB / 0.5721 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.281e-05/0.5488, allocations: 180.3 kB / 0.5722 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002923/0.5491, allocations: 376.2 kB / 0.5726 GB, free: 8.957 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.136e-05/0.5492, allocations: 112.9 kB / 0.5727 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.215e-05/0.5492, allocations: 101 kB / 0.5728 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.333e-05/0.5493, allocations: 180.2 kB / 0.573 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.901e-05/0.5494, allocations: 180.3 kB / 0.5731 GB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.76e-05/0.5495, allocations: 184.2 kB / 0.5733 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.494e-05/0.5496, allocations: 180.3 kB / 0.5735 GB, free: 7.996 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.5498, allocations: 312 kB / 0.5738 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.828e-05/0.5499, allocations: 101 kB / 0.5739 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.55, allocations: 200.2 kB / 0.5741 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.5501, allocations: 101 kB / 0.5742 GB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.5502, allocations: 180.3 kB / 0.5743 GB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.195e-05/0.5503, allocations: 108.9 kB / 0.5745 GB, free: 6.957 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.997e-05/0.5503, allocations: 75.28 kB / 0.5745 GB, free: 6.883 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5503, allocations: 0 / 0.5745 GB, free: 6.883 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003219/0.5507, allocations: 4 kB / 0.5745 GB, free: 6.879 MB / 414.1 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 (0): * Single equations (assignments): 0 * 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.0001478/0.5508, allocations: 166.6 kB / 0.5747 GB, free: 6.703 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.047e-05/0.5509, allocations: 4 kB / 0.5747 GB, free: 6.699 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5509, allocations: 0 / 0.5747 GB, free: 6.699 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.5509, allocations: 0 / 0.5747 GB, free: 6.699 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/0.5513, allocations: 471.5 kB / 0.5751 GB, free: 6.234 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000259/0.5516, allocations: 148.3 kB / 0.5753 GB, free: 6.062 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/0.552, allocations: 0.669 MB / 0.5759 GB, free: 5.367 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.488e-05/0.552, allocations: 0 / 0.5759 GB, free: 5.367 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.892e-05/0.5521, allocations: 11.44 kB / 0.5759 GB, free: 5.355 MB / 414.1 MB Notification: Performance of SimCode: time 6.72e-07/0.5521, allocations: 0 / 0.5759 GB, free: 5.355 MB / 414.1 MB Notification: Performance of Templates: time 0.003164/0.5553, allocations: 308.6 kB / 0.5762 GB, free: 5.055 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.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: 5.589587413938716]