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.001438/0.001438, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001532/0.001532, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.524/1.524, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 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.3642/0.3642, allocations: 34.26 MB / 295.3 MB, free: 0.6641 MB / 266.7 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 1.543e-06/1.543e-06, allocations: 0 / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.072e-05/4.226e-05, allocations: 2.312 kB / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001441/0.001484, allocations: 0.4885 MB / 377.7 MB, free: 2.48 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003444/0.004928, allocations: 2.062 MB / 379.8 MB, free: 408 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.4e-05/0.004942, allocations: 4 kB / 379.8 MB, free: 404 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.03e-05/0.004952, allocations: 4 kB / 379.8 MB, free: 400 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.706e-05/0.004989, allocations: 3.938 kB / 379.8 MB, free: 396 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.006185, allocations: 406.4 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 3.512e-05/0.006221, allocations: 4 kB / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.288e-05/0.006253, allocations: 0 / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.884e-05/0.006282, allocations: 4 kB / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02528/0.03156, allocations: 4.847 MB / 385.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.03158, allocations: 0 / 385.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.466e-05/0.03165, allocations: 8 kB / 385.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.785e-06/0.03166, allocations: 0 / 385.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.03168, allocations: 0 / 385.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.03182, allocations: 11.98 kB / 385.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.03183, allocations: 0 / 385.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.03183, allocations: 0 / 385.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.03183, allocations: 4 kB / 385.1 MB, free: 12.25 MB / 362.7 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.0003478/0.03218, allocations: 242.4 kB / 385.3 MB, free: 11.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.03222, allocations: 12.03 kB / 385.3 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002151/0.03243, allocations: 84.2 kB / 385.4 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.03259, allocations: 181.1 kB / 385.6 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.727e-05/0.03268, allocations: 150.9 kB / 385.7 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.143e-05/0.03277, allocations: 158.9 kB / 385.9 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.03287, allocations: 101.5 kB / 386 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.884e-05/0.03292, allocations: 83.22 kB / 386.1 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-05/0.03301, allocations: 154.6 kB / 386.2 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.189e-05/0.03309, allocations: 154.5 kB / 386.4 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.477e-05/0.03318, allocations: 150.6 kB / 386.5 MB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.03351, allocations: 397.6 kB / 386.9 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.03364, allocations: 169.1 kB / 387.1 MB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.55e-05/0.03369, allocations: 84.14 kB / 387.2 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.46e-05/0.03374, allocations: 79.27 kB / 387.2 MB, free: 9.984 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.459e-05/0.03383, allocations: 109.8 kB / 387.4 MB, free: 9.867 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.03383, allocations: 0 / 387.4 MB, free: 9.867 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 8.834e-05/0.03392, allocations: 37.58 kB / 387.4 MB, free: 9.824 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.03405, allocations: 178.1 kB / 387.6 MB, free: 9.625 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.03416, allocations: 101.8 kB / 387.7 MB, free: 9.516 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.03419, allocations: 29.7 kB / 387.7 MB, free: 9.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.071e-05/0.03424, allocations: 80.14 kB / 387.8 MB, free: 9.398 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.212e-06/0.03424, allocations: 0 / 387.8 MB, free: 9.398 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.03427, allocations: 9.719 kB / 387.8 MB, free: 9.383 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.03445, allocations: 314.8 kB / 388.1 MB, free: 9.066 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.618e-06/0.03446, allocations: 0 / 388.1 MB, free: 9.066 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.317e-05/0.03452, allocations: 61.12 kB / 388.1 MB, free: 8.988 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.93e-05/0.03457, allocations: 79.28 kB / 388.2 MB, free: 8.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.524e-05/0.03462, allocations: 79.28 kB / 388.3 MB, free: 8.832 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.493e-05/0.03468, allocations: 41.78 kB / 388.3 MB, free: 8.785 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.632e-05/0.03475, allocations: 79.28 kB / 388.4 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.491e-05/0.03479, allocations: 75.28 kB / 388.5 MB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001002/0.03489, allocations: 158.5 kB / 388.6 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.269e-05/0.03494, allocations: 79.22 kB / 388.7 MB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.529e-05/0.03503, allocations: 150.6 kB / 388.9 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.03516, allocations: 83.22 kB / 389 MB, free: 8.168 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.591e-05/0.03521, allocations: 75.28 kB / 389 MB, free: 8.094 MB / 362.7 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.000214/0.03542, allocations: 268.4 kB / 389.3 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.03555, allocations: 101 kB / 389.4 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.812e-05/0.03563, allocations: 112.1 kB / 389.5 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001383/0.03577, allocations: 184.2 kB / 389.7 MB, free: 7.414 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001238/0.03589, allocations: 188.2 kB / 389.9 MB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001124/0.036, allocations: 184.2 kB / 390 MB, free: 7.035 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.03634, allocations: 348.9 kB / 390.4 MB, free: 6.656 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.216e-05/0.0364, allocations: 108.9 kB / 390.5 MB, free: 6.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.169e-05/0.03646, allocations: 105 kB / 390.6 MB, free: 6.434 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001056/0.03657, allocations: 184.2 kB / 390.8 MB, free: 6.246 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/0.03669, allocations: 180.3 kB / 390.9 MB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.833e-05/0.03679, allocations: 180.3 kB / 391.1 MB, free: 5.879 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.524e-05/0.03688, allocations: 188.1 kB / 391.3 MB, free: 5.688 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.03707, allocations: 307.7 kB / 391.6 MB, free: 5.363 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.718e-05/0.03714, allocations: 109 kB / 391.7 MB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.03725, allocations: 180.2 kB / 391.9 MB, free: 5.066 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.03736, allocations: 105 kB / 392 MB, free: 4.957 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002705/0.03764, allocations: 184.2 kB / 392.2 MB, free: 4.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.431e-05/0.0377, allocations: 104.9 kB / 392.3 MB, free: 4.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.072e-05/0.03775, allocations: 79.28 kB / 392.4 MB, free: 4.582 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03775, allocations: 0 / 392.4 MB, free: 4.582 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002587/0.03801, allocations: 0 / 392.4 MB, free: 4.582 MB / 362.7 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.0001701/0.03818, allocations: 174.6 kB / 392.5 MB, free: 4.402 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.273e-05/0.03823, allocations: 4 kB / 392.5 MB, free: 4.398 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.03823, allocations: 0 / 392.5 MB, free: 4.398 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.03823, allocations: 0 / 392.5 MB, free: 4.398 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004979/0.03873, allocations: 459.6 kB / 393 MB, free: 3.945 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002429/0.03898, allocations: 161.5 kB / 393.1 MB, free: 3.758 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.36e-05/0.03904, allocations: 55.36 kB / 393.2 MB, free: 3.684 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.262e-05/0.03906, allocations: 3.984 kB / 393.2 MB, free: 3.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.033e-05/0.03908, allocations: 8.5 kB / 393.2 MB, free: 3.672 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.03908, allocations: 4 kB / 393.2 MB, free: 3.668 MB / 362.7 MB Notification: Performance of Templates: time 0.002571/0.04165, allocations: 345 kB / 393.5 MB, free: 3.34 MB / 362.7 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: 4.817140682949685]