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.001454/0.001454, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.001624/0.001624, allocations: 205.2 kB / 24.49 MB, free: 3.965 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.446/1.446, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.2269/0.2269, allocations: 46.96 MB / 361.6 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 180] 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.002002/0.002002, allocations: 75.89 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3706, allocations: 66.02 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001739/0.3723, allocations: 497 kB / 0.5623 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003552/0.3759, allocations: 2.066 MB / 0.5643 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.566e-05/0.3759, allocations: 0 / 0.5643 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.571e-05/0.3759, allocations: 0 / 0.5643 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.557e-05/0.3759, allocations: 0 / 0.5643 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.3771, allocations: 402.7 kB / 0.5647 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.826e-05/0.3771, allocations: 8 kB / 0.5647 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.949e-05/0.3772, allocations: 0 / 0.5647 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.157e-05/0.3772, allocations: 8 kB / 0.5647 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02096/0.3982, allocations: 3.39 MB / 0.568 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.3982, allocations: 0 / 0.568 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.3983, allocations: 4 kB / 0.568 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.3983, allocations: 0 / 0.568 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.557e-05/0.3983, allocations: 4 kB / 0.568 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.3985, allocations: 15.97 kB / 0.568 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3985, allocations: 4 kB / 0.568 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.3985, allocations: 0 / 0.568 GB, free: 14.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.3985, allocations: 0 / 0.568 GB, free: 14.43 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.000378/0.3989, allocations: 238.4 kB / 0.5682 GB, free: 14.17 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.399, allocations: 8.031 kB / 0.5683 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002253/0.3992, allocations: 92.2 kB / 0.5683 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.3993, allocations: 177.8 kB / 0.5685 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.607e-05/0.3994, allocations: 158.9 kB / 0.5687 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.009e-05/0.3995, allocations: 158.4 kB / 0.5688 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.823e-05/0.3996, allocations: 105 kB / 0.5689 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.99e-05/0.3996, allocations: 75.28 kB / 0.569 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.788e-05/0.3997, allocations: 154.5 kB / 0.5691 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.352e-05/0.3998, allocations: 154.6 kB / 0.5693 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.285e-05/0.3998, allocations: 150.6 kB / 0.5694 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003449/0.4002, allocations: 397.6 kB / 0.5698 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.4003, allocations: 173.1 kB / 0.57 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.382e-05/0.4003, allocations: 80.14 kB / 0.57 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.902e-05/0.4004, allocations: 79.22 kB / 0.5701 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.337e-05/0.4004, allocations: 117.8 kB / 0.5702 GB, free: 12.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.4005, allocations: 0 / 0.5702 GB, free: 12.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.271e-05/0.4005, allocations: 25.7 kB / 0.5703 GB, free: 12.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/0.4006, allocations: 110.7 kB / 0.5704 GB, free: 11.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.4007, allocations: 93.86 kB / 0.5705 GB, free: 11.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.4007, allocations: 25.7 kB / 0.5705 GB, free: 11.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.054e-05/0.4008, allocations: 80.14 kB / 0.5706 GB, free: 11.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.4008, allocations: 0 / 0.5706 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.4008, allocations: 17.72 kB / 0.5706 GB, free: 11.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.401, allocations: 310.8 kB / 0.5709 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5e-06/0.401, allocations: 4.125 kB / 0.5709 GB, free: 11.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.197e-05/0.401, allocations: 65.12 kB / 0.5709 GB, free: 11.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.336e-05/0.4011, allocations: 75.28 kB / 0.571 GB, free: 11.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.365e-05/0.4011, allocations: 75.28 kB / 0.5711 GB, free: 11.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.632e-05/0.4012, allocations: 37.62 kB / 0.5711 GB, free: 11.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.014e-05/0.4012, allocations: 79.28 kB / 0.5712 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.15e-05/0.4013, allocations: 83.22 kB / 0.5713 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.76e-05/0.4014, allocations: 154.6 kB / 0.5714 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.502e-05/0.4014, allocations: 83.22 kB / 0.5715 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.088e-05/0.4015, allocations: 158.6 kB / 0.5716 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.452e-05/0.4016, allocations: 79.31 kB / 0.5717 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-05/0.4016, allocations: 83.2 kB / 0.5718 GB, free: 10.34 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.0001518/0.4018, allocations: 260.4 kB / 0.572 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.402, allocations: 104.9 kB / 0.5721 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.279e-05/0.4021, allocations: 119.7 kB / 0.5723 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.224e-05/0.4021, allocations: 176.3 kB / 0.5724 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001532/0.4023, allocations: 105 kB / 0.5725 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/0.4023, allocations: 112.9 kB / 0.5726 GB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.816e-05/0.4024, allocations: 176.3 kB / 0.5728 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.4025, allocations: 112.9 kB / 0.5729 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.4027, allocations: 184.3 kB / 0.5731 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001287/0.4028, allocations: 267.4 kB / 0.5733 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004431/0.4032, allocations: 375.1 kB / 0.5737 GB, free: 8.285 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.407e-05/0.4033, allocations: 109.3 kB / 0.5738 GB, free: 8.172 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.086e-05/0.4034, allocations: 79.28 kB / 0.5739 GB, free: 8.094 MB / 414.1 MB Notification: Performance of Backend: time 2.9e-07/0.4034, allocations: 0 / 0.5739 GB, free: 8.094 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000375/0.4037, allocations: 77.67 kB / 0.574 GB, free: 8.012 MB / 414.1 MB Notification: Performance of SimCode: time 0.0007111/0.4044, allocations: 0.8968 MB / 0.5748 GB, free: 7.062 MB / 414.1 MB Notification: Performance of Templates: time 0.002891/0.4073, allocations: 328.9 kB / 0.5751 GB, free: 6.746 MB / 414.1 MB " [Timeout remaining time 660] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins1/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: 4.921717475997866]