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.001518/0.001518, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001806/0.001806, allocations: 204.8 kB / 24.48 MB, free: 3.695 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.487/1.487, allocations: 230.6 MB / 258.2 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.2399/0.2399, allocations: 46.96 MB / 361.6 MB, free: 4.035 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.001966/0.001966, allocations: 71.88 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3991, allocations: 66.02 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001974/0.4011, allocations: 493 kB / 0.5623 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003796/0.4049, allocations: 2.062 MB / 0.5643 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.216e-05/0.4049, allocations: 0 / 0.5643 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.337e-05/0.4049, allocations: 0 / 0.5643 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.075e-05/0.4049, allocations: 0 / 0.5643 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.4063, allocations: 402.7 kB / 0.5647 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.681e-05/0.4064, allocations: 4 kB / 0.5647 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.4064, allocations: 4 kB / 0.5647 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.654e-05/0.4064, allocations: 4 kB / 0.5647 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02099/0.4274, allocations: 3.403 MB / 0.568 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.4274, allocations: 0 / 0.568 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.901e-05/0.4275, allocations: 4 kB / 0.568 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.4275, allocations: 0 / 0.568 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.4276, allocations: 4 kB / 0.568 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.4277, allocations: 7.984 kB / 0.568 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4277, allocations: 8 kB / 0.568 GB, free: 14.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4277, allocations: 0 / 0.568 GB, free: 14.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.4277, allocations: 0 / 0.568 GB, free: 14.4 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.000446/0.4282, allocations: 238.4 kB / 0.5682 GB, free: 14.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.4282, allocations: 8.031 kB / 0.5683 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002223/0.4284, allocations: 88.2 kB / 0.5683 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.4287, allocations: 181.8 kB / 0.5685 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.121e-05/0.4288, allocations: 154.9 kB / 0.5687 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.352e-05/0.4289, allocations: 158.6 kB / 0.5688 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.429, allocations: 104.9 kB / 0.5689 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.804e-05/0.429, allocations: 87.2 kB / 0.569 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.036e-05/0.4291, allocations: 154.6 kB / 0.5691 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-05/0.4292, allocations: 154.6 kB / 0.5693 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.4293, allocations: 150.6 kB / 0.5694 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000304/0.4296, allocations: 393.6 kB / 0.5698 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.4297, allocations: 173.1 kB / 0.57 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.82e-05/0.4298, allocations: 80.14 kB / 0.57 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.586e-05/0.4298, allocations: 79.28 kB / 0.5701 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.884e-05/0.4299, allocations: 109.8 kB / 0.5702 GB, free: 12.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.4299, allocations: 0 / 0.5702 GB, free: 12.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 9.123e-05/0.43, allocations: 33.64 kB / 0.5703 GB, free: 11.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.4301, allocations: 186.1 kB / 0.5704 GB, free: 11.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.4302, allocations: 89.86 kB / 0.5705 GB, free: 11.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.4302, allocations: 25.7 kB / 0.5705 GB, free: 11.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.533e-05/0.4303, allocations: 84.14 kB / 0.5706 GB, free: 11.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.452e-06/0.4303, allocations: 4 kB / 0.5706 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.4303, allocations: 9.719 kB / 0.5706 GB, free: 11.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.4304, allocations: 310.8 kB / 0.5709 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.903e-06/0.4304, allocations: 4 kB / 0.5709 GB, free: 11.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-05/0.4305, allocations: 61.12 kB / 0.571 GB, free: 11.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.637e-05/0.4305, allocations: 79.44 kB / 0.5711 GB, free: 11.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.697e-05/0.4306, allocations: 79.28 kB / 0.5711 GB, free: 10.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.221e-05/0.4306, allocations: 33.62 kB / 0.5712 GB, free: 10.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.138e-05/0.4307, allocations: 87.22 kB / 0.5713 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.524e-05/0.4307, allocations: 79.28 kB / 0.5713 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.785e-05/0.4308, allocations: 154.6 kB / 0.5715 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.091e-05/0.4309, allocations: 79.22 kB / 0.5716 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.768e-05/0.4309, allocations: 158.6 kB / 0.5717 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.431, allocations: 79.22 kB / 0.5718 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.241e-05/0.4311, allocations: 83.27 kB / 0.5719 GB, free: 10.23 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.0001547/0.4312, allocations: 264.4 kB / 0.5721 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.923e-05/0.4313, allocations: 108.9 kB / 0.5722 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.639e-05/0.4314, allocations: 111.7 kB / 0.5723 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-05/0.4315, allocations: 176.3 kB / 0.5725 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.919e-05/0.4316, allocations: 188.2 kB / 0.5727 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.554e-05/0.4316, allocations: 180.2 kB / 0.5729 GB, free: 9.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.4319, allocations: 352.9 kB / 0.5732 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.502e-05/0.432, allocations: 104.9 kB / 0.5733 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.4321, allocations: 105 kB / 0.5734 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.428e-05/0.4322, allocations: 188.1 kB / 0.5736 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.206e-05/0.4323, allocations: 176.3 kB / 0.5737 GB, free: 8.207 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001801/0.4325, allocations: 180.3 kB / 0.5739 GB, free: 8.023 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.151e-05/0.4326, allocations: 196.1 kB / 0.5741 GB, free: 7.824 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.4328, allocations: 304.1 kB / 0.5744 GB, free: 7.504 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.328e-05/0.4329, allocations: 105 kB / 0.5745 GB, free: 7.395 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.473e-05/0.433, allocations: 188.2 kB / 0.5747 GB, free: 7.203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.4331, allocations: 104.9 kB / 0.5748 GB, free: 7.094 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.4332, allocations: 184.2 kB / 0.5749 GB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.793e-05/0.4333, allocations: 104.9 kB / 0.575 GB, free: 6.797 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.136e-05/0.4333, allocations: 75.28 kB / 0.5751 GB, free: 6.723 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4333, allocations: 96 / 0.5751 GB, free: 6.723 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000316/0.4336, allocations: 8 kB / 0.5751 GB, free: 6.715 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.0001398/0.4338, allocations: 170.5 kB / 0.5753 GB, free: 6.535 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.084e-05/0.4338, allocations: 0 / 0.5753 GB, free: 6.535 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4338, allocations: 0 / 0.5753 GB, free: 6.535 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.039e-06/0.4338, allocations: 4 kB / 0.5753 GB, free: 6.531 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.4342, allocations: 451.7 kB / 0.5757 GB, free: 6.086 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/0.4346, allocations: 189.9 kB / 0.5759 GB, free: 5.867 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.088e-05/0.4347, allocations: 51.36 kB / 0.5759 GB, free: 5.797 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.564e-05/0.4347, allocations: 11.44 kB / 0.576 GB, free: 5.785 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4347, allocations: 4 kB / 0.576 GB, free: 5.781 MB / 414.1 MB Notification: Performance of Templates: time 0.001956/0.4367, allocations: 359.7 kB / 0.5763 GB, free: 5.43 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: 7.398963018000359]