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.001424/0.001424, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001468/0.001468, allocations: 209 kB / 23.73 MB, free: 4.523 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.552/1.552, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.245/0.245, allocations: 46.96 MB / 360.9 MB, free: 4.043 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.002212/0.002212, allocations: 67.89 kB / 0.4966 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4075/0.4097, allocations: 66.04 MB / 0.5611 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.002108/0.4118, allocations: 488.2 kB / 0.5615 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003719/0.4155, allocations: 2.062 MB / 0.5635 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.123e-05/0.4155, allocations: 0 / 0.5635 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.856e-05/0.4155, allocations: 0 / 0.5635 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.97e-05/0.4156, allocations: 0 / 0.5635 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.4169, allocations: 402.7 kB / 0.5639 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.829e-05/0.417, allocations: 12 kB / 0.5639 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.934e-05/0.417, allocations: 4 kB / 0.5639 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.786e-05/0.417, allocations: 4 kB / 0.5639 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02241/0.4395, allocations: 3.39 MB / 0.5673 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.4395, allocations: 4 kB / 0.5673 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.88e-05/0.4396, allocations: 8 kB / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.4396, allocations: 0 / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.218e-05/0.4396, allocations: 0 / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.4398, allocations: 7.984 kB / 0.5673 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4398, allocations: 4 kB / 0.5673 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4398, allocations: 0 / 0.5673 GB, free: 14.42 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.4398, allocations: 0 / 0.5673 GB, free: 14.42 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.000325/0.4401, allocations: 238.4 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.4401, allocations: 8.031 kB / 0.5675 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002332/0.4404, allocations: 92.2 kB / 0.5676 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.4405, allocations: 177.8 kB / 0.5678 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.775e-05/0.4406, allocations: 154.9 kB / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-05/0.4407, allocations: 154.7 kB / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.357e-05/0.4407, allocations: 108.9 kB / 0.5682 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.578e-05/0.4408, allocations: 75.28 kB / 0.5682 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.7e-05/0.4409, allocations: 154.6 kB / 0.5684 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.66e-05/0.4409, allocations: 154.5 kB / 0.5685 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.602e-05/0.441, allocations: 150.6 kB / 0.5687 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003224/0.4413, allocations: 401.6 kB / 0.5691 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.4414, allocations: 169.1 kB / 0.5692 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.888e-05/0.4415, allocations: 84.14 kB / 0.5693 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-05/0.4415, allocations: 75.28 kB / 0.5694 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.476e-05/0.4416, allocations: 113.8 kB / 0.5695 GB, free: 12.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.4416, allocations: 3.938 kB / 0.5695 GB, free: 12.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.341e-05/0.4417, allocations: 29.64 kB / 0.5695 GB, free: 12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.4418, allocations: 186 kB / 0.5697 GB, free: 11.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.4419, allocations: 97.84 kB / 0.5698 GB, free: 11.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.4419, allocations: 25.7 kB / 0.5698 GB, free: 11.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/0.442, allocations: 80.14 kB / 0.5699 GB, free: 11.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.507e-06/0.442, allocations: 4.125 kB / 0.5699 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.442, allocations: 13.72 kB / 0.5699 GB, free: 11.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.4422, allocations: 310.8 kB / 0.5702 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.506e-06/0.4422, allocations: 4 kB / 0.5702 GB, free: 11.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.148e-05/0.4423, allocations: 61.12 kB / 0.5703 GB, free: 11.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.309e-05/0.4423, allocations: 79.28 kB / 0.5703 GB, free: 11.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.051e-05/0.4424, allocations: 79.28 kB / 0.5704 GB, free: 11 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.821e-05/0.4424, allocations: 33.62 kB / 0.5704 GB, free: 10.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.027e-05/0.4425, allocations: 83.28 kB / 0.5705 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.62e-05/0.4425, allocations: 79.22 kB / 0.5706 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.658e-05/0.4426, allocations: 154.6 kB / 0.5707 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.543e-05/0.4426, allocations: 83.25 kB / 0.5708 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.176e-05/0.4427, allocations: 154.6 kB / 0.571 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.67e-05/0.4428, allocations: 75.28 kB / 0.571 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.4428, allocations: 87.22 kB / 0.5711 GB, free: 10.25 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.0001497/0.443, allocations: 260.4 kB / 0.5714 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.823e-05/0.4431, allocations: 108.9 kB / 0.5715 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.082e-05/0.4431, allocations: 111.7 kB / 0.5716 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.574e-05/0.4432, allocations: 180.2 kB / 0.5718 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.356e-05/0.4433, allocations: 180.3 kB / 0.5719 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001031/0.4434, allocations: 188.2 kB / 0.5721 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.4437, allocations: 352.9 kB / 0.5724 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.557e-05/0.4437, allocations: 108.9 kB / 0.5726 GB, free: 8.699 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.89e-05/0.4438, allocations: 101 kB / 0.5726 GB, free: 8.594 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001063/0.4439, allocations: 192.1 kB / 0.5728 GB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001615/0.444, allocations: 180.3 kB / 0.573 GB, free: 8.215 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.962e-05/0.4441, allocations: 176.3 kB / 0.5732 GB, free: 8.035 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001776/0.4443, allocations: 188.2 kB / 0.5734 GB, free: 7.844 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.4445, allocations: 308.1 kB / 0.5736 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.26e-05/0.4446, allocations: 101 kB / 0.5737 GB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.4447, allocations: 192.2 kB / 0.5739 GB, free: 7.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.4449, allocations: 108.9 kB / 0.574 GB, free: 7.105 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.445, allocations: 184.2 kB / 0.5742 GB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.031e-05/0.445, allocations: 104.9 kB / 0.5743 GB, free: 6.809 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.073e-05/0.4451, allocations: 79.28 kB / 0.5744 GB, free: 6.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4451, allocations: 0 / 0.5744 GB, free: 6.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002937/0.4454, allocations: 4 kB / 0.5744 GB, free: 6.727 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.0001755/0.4456, allocations: 174.4 kB / 0.5745 GB, free: 6.543 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.607e-05/0.4456, allocations: 0 / 0.5745 GB, free: 6.543 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4456, allocations: 0 / 0.5745 GB, free: 6.543 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.351e-05/0.4457, allocations: 8.094 kB / 0.5746 GB, free: 6.535 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004997/0.4462, allocations: 451.7 kB / 0.575 GB, free: 6.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003349/0.4465, allocations: 164.2 kB / 0.5751 GB, free: 5.902 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.03e-05/0.4466, allocations: 51.36 kB / 0.5752 GB, free: 5.832 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.246e-05/0.4466, allocations: 4 kB / 0.5752 GB, free: 5.828 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.721e-05/0.4466, allocations: 7.438 kB / 0.5752 GB, free: 5.82 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4466, allocations: 0 / 0.5752 GB, free: 5.82 MB / 414.1 MB Notification: Performance of Templates: time 0.003278/0.4499, allocations: 334.4 kB / 0.5755 GB, free: 5.5 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/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.289393227081746]