Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002607/0.002607, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.003122/0.003122, allocations: 161.3 kB / 24.27 MB, free: 152 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.641/1.641, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3816/0.3816, allocations: 32.79 MB / 293.9 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 375.2 MB, free: 5.031 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.52e-05/3.726e-05, allocations: 5.828 kB / 375.2 MB, free: 5.027 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.002402/0.002439, allocations: 496.9 kB / 375.7 MB, free: 4.539 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005662/0.008101, allocations: 2.098 MB / 377.8 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.165e-05/0.008122, allocations: 0 / 377.8 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.367e-05/0.008136, allocations: 0 / 377.8 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.963e-05/0.008166, allocations: 0 / 377.8 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002025/0.01019, allocations: 398.4 kB / 378.2 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.435e-05/0.01025, allocations: 15.92 kB / 378.2 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.36e-05/0.0103, allocations: 0 / 378.2 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.445e-05/0.01034, allocations: 3.984 kB / 378.2 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04324/0.05359, allocations: 4.839 MB / 383.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.959e-05/0.05362, allocations: 4 kB / 383.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.05374, allocations: 4 kB / 383.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.675e-05/0.05375, allocations: 4 kB / 383.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.258e-05/0.05378, allocations: 0 / 383.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.05394, allocations: 11.98 kB / 383.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.05395, allocations: 0 / 383.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.821e-06/0.05395, allocations: 3.984 kB / 383.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.05396, allocations: 4 kB / 383.1 MB, free: 14.28 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.00045/0.05441, allocations: 344.3 kB / 383.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.05445, allocations: 8.031 kB / 383.4 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003/0.05475, allocations: 136 kB / 383.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.05496, allocations: 223.8 kB / 383.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.0551, allocations: 242.8 kB / 384 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.05523, allocations: 238.8 kB / 384.3 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.05534, allocations: 153.4 kB / 384.4 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.956e-05/0.0554, allocations: 127.1 kB / 384.5 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/0.05555, allocations: 238.4 kB / 384.8 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001377/0.05569, allocations: 242.4 kB / 385 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.05581, allocations: 238.4 kB / 385.2 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004562/0.05627, allocations: 0.5681 MB / 385.8 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.05646, allocations: 269.4 kB / 386.1 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.507e-05/0.05656, allocations: 126.9 kB / 386.2 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002007/0.05676, allocations: 119.2 kB / 386.3 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001047/0.05686, allocations: 156.6 kB / 386.5 MB, free: 10.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.05687, allocations: 4 kB / 386.5 MB, free: 10.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 8.968e-05/0.05696, allocations: 29.64 kB / 386.5 MB, free: 10.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001633/0.05712, allocations: 226 kB / 386.7 MB, free: 10.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.05728, allocations: 157.9 kB / 386.9 MB, free: 10.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.05731, allocations: 25.7 kB / 386.9 MB, free: 10.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.263e-05/0.05738, allocations: 126.9 kB / 387 MB, free: 10.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.05738, allocations: 0 / 387 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.05742, allocations: 23.31 kB / 387 MB, free: 10.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002775/0.0577, allocations: 496.2 kB / 387.5 MB, free: 9.629 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.41e-06/0.0577, allocations: 0 / 387.5 MB, free: 9.629 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.089e-05/0.05777, allocations: 74.91 kB / 387.6 MB, free: 9.535 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.043e-05/0.05783, allocations: 119.2 kB / 387.7 MB, free: 9.418 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-05/0.05789, allocations: 119.2 kB / 387.8 MB, free: 9.301 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.488e-05/0.05796, allocations: 33.7 kB / 387.9 MB, free: 9.262 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.379e-05/0.05803, allocations: 127.2 kB / 388 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001747/0.0582, allocations: 127.1 kB / 388.1 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000143/0.05835, allocations: 242.3 kB / 388.3 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.104e-05/0.05842, allocations: 127.3 kB / 388.5 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001549/0.05857, allocations: 250.3 kB / 388.7 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.0587, allocations: 119.2 kB / 388.8 MB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.849e-05/0.05877, allocations: 123.2 kB / 389 MB, free: 8.164 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.0002564/0.05903, allocations: 403 kB / 389.3 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.05914, allocations: 156.8 kB / 389.5 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.05924, allocations: 151.8 kB / 389.6 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001668/0.05941, allocations: 268 kB / 389.9 MB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000158/0.05957, allocations: 268.1 kB / 390.2 MB, free: 6.906 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001501/0.05972, allocations: 268 kB / 390.4 MB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003712/0.06009, allocations: 499.9 kB / 390.9 MB, free: 6.105 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.572e-05/0.06017, allocations: 148.8 kB / 391.1 MB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.619e-05/0.06026, allocations: 144.9 kB / 391.2 MB, free: 5.805 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001812/0.06044, allocations: 272.1 kB / 391.5 MB, free: 5.531 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001621/0.0606, allocations: 272 kB / 391.7 MB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003353/0.06094, allocations: 272.1 kB / 392 MB, free: 4.984 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001737/0.06111, allocations: 276 kB / 392.3 MB, free: 4.707 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/0.06141, allocations: 440 kB / 392.7 MB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.698e-05/0.0615, allocations: 152.8 kB / 392.9 MB, free: 4.094 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.06165, allocations: 272.1 kB / 393.1 MB, free: 3.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.06179, allocations: 148.8 kB / 393.3 MB, free: 3.668 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.06194, allocations: 272.3 kB / 393.5 MB, free: 3.395 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.608e-05/0.06202, allocations: 148.9 kB / 393.7 MB, free: 3.242 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.726e-05/0.06209, allocations: 127.1 kB / 393.8 MB, free: 3.117 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06209, allocations: 0 / 393.8 MB, free: 3.117 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002902/0.06238, allocations: 4 kB / 393.8 MB, free: 3.113 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.0001721/0.06256, allocations: 210.4 kB / 394 MB, free: 2.898 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.34e-05/0.06262, allocations: 8.031 kB / 394 MB, free: 2.891 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.06262, allocations: 0 / 394 MB, free: 2.891 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.06262, allocations: 0 / 394 MB, free: 2.891 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005468/0.06317, allocations: 0.7061 MB / 394.7 MB, free: 2.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003419/0.06351, allocations: 207.1 kB / 394.9 MB, free: 1.945 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.029e-05/0.06358, allocations: 55.44 kB / 395 MB, free: 1.871 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.604e-05/0.06361, allocations: 11.94 kB / 395 MB, free: 1.859 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.903e-05/0.06363, allocations: 8.5 kB / 395 MB, free: 1.852 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.06363, allocations: 0 / 395 MB, free: 1.852 MB / 362.7 MB Notification: Performance of Templates: time 0.002989/0.06662, allocations: 346.5 kB / 395.3 MB, free: 1.523 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.004028080962598]