Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001471/0.001471, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001872/0.001872, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3624/0.3624, allocations: 34.25 MB / 295.2 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 377.2 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.126e-05/3.282e-05, allocations: 8.844 kB / 377.2 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001579/0.001611, allocations: 0.493 MB / 377.7 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0038/0.005411, allocations: 2.066 MB / 379.7 MB, free: 376 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.946e-05/0.005431, allocations: 0 / 379.7 MB, free: 376 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.364e-05/0.005444, allocations: 0 / 379.7 MB, free: 376 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.034e-05/0.005475, allocations: 0 / 379.7 MB, free: 376 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.006764, allocations: 410.4 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.908e-05/0.006813, allocations: 3.984 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.189e-05/0.006855, allocations: 4 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.898e-05/0.006884, allocations: 0 / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02443/0.03131, allocations: 4.795 MB / 384.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.03134, allocations: 4 kB / 384.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.03144, allocations: 8 kB / 384.9 MB, free: 12.22 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.03145, allocations: 3.984 kB / 384.9 MB, free: 12.22 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.02e-05/0.03148, allocations: 4 kB / 385 MB, free: 12.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.03163, allocations: 7.984 kB / 385 MB, free: 12.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.03164, allocations: 4 kB / 385 MB, free: 12.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.03164, allocations: 0 / 385 MB, free: 12.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.03165, allocations: 0 / 385 MB, free: 12.2 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.0003675/0.03202, allocations: 242.4 kB / 385.2 MB, free: 11.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.03206, allocations: 8.031 kB / 385.2 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002492/0.03231, allocations: 92.2 kB / 385.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.03247, allocations: 185 kB / 385.5 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-05/0.03256, allocations: 150.9 kB / 385.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.939e-05/0.03264, allocations: 150.9 kB / 385.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.306e-05/0.03274, allocations: 109.5 kB / 385.9 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.403e-05/0.03278, allocations: 75.47 kB / 386 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.914e-05/0.03288, allocations: 150.9 kB / 386.1 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-05/0.03297, allocations: 154.5 kB / 386.3 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.892e-05/0.03306, allocations: 158.5 kB / 386.4 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/0.0334, allocations: 401.5 kB / 386.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.03353, allocations: 173.1 kB / 387 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.916e-05/0.03358, allocations: 80.14 kB / 387 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.619e-05/0.03363, allocations: 75.33 kB / 387.1 MB, free: 9.934 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.001e-05/0.03371, allocations: 109.8 kB / 387.2 MB, free: 9.816 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 6.61e-07/0.03371, allocations: 4 kB / 387.2 MB, free: 9.812 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 9.306e-05/0.0338, allocations: 33.64 kB / 387.3 MB, free: 9.773 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.03393, allocations: 186 kB / 387.4 MB, free: 9.566 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.03405, allocations: 93.86 kB / 387.5 MB, free: 9.465 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.03408, allocations: 25.7 kB / 387.6 MB, free: 9.434 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/0.03414, allocations: 80.14 kB / 387.6 MB, free: 9.352 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.443e-06/0.03414, allocations: 4.125 kB / 387.6 MB, free: 9.348 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.03417, allocations: 13.72 kB / 387.7 MB, free: 9.328 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002305/0.0344, allocations: 310.8 kB / 388 MB, free: 9.016 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.484e-06/0.03441, allocations: 4 kB / 388 MB, free: 9.012 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.734e-05/0.03447, allocations: 65.12 kB / 388 MB, free: 8.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.359e-05/0.03452, allocations: 75.28 kB / 388.1 MB, free: 8.855 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.015e-05/0.03456, allocations: 75.28 kB / 388.2 MB, free: 8.781 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.396e-05/0.03462, allocations: 37.62 kB / 388.2 MB, free: 8.738 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.34e-05/0.03468, allocations: 79.28 kB / 388.3 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.434e-05/0.03472, allocations: 75.28 kB / 388.4 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001064/0.03483, allocations: 162.5 kB / 388.5 MB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.277e-05/0.03487, allocations: 75.28 kB / 388.6 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.063e-05/0.03495, allocations: 154.5 kB / 388.7 MB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.03507, allocations: 87.22 kB / 388.8 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.282e-05/0.03511, allocations: 79.27 kB / 388.9 MB, free: 8.035 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.0001721/0.03528, allocations: 260.4 kB / 389.2 MB, free: 7.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.3e-05/0.03537, allocations: 108.9 kB / 389.3 MB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.454e-05/0.03544, allocations: 108.2 kB / 389.4 MB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001027/0.03554, allocations: 180.3 kB / 389.6 MB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001067/0.03565, allocations: 192.2 kB / 389.7 MB, free: 7.168 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001079/0.03576, allocations: 184.3 kB / 389.9 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.03604, allocations: 348.8 kB / 390.3 MB, free: 6.602 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.19e-05/0.0361, allocations: 109 kB / 390.4 MB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.283e-05/0.03616, allocations: 108.9 kB / 390.5 MB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.687e-05/0.03626, allocations: 180.3 kB / 390.7 MB, free: 6.191 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.03636, allocations: 184.2 kB / 390.8 MB, free: 6.004 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.866e-05/0.03646, allocations: 180.2 kB / 391 MB, free: 5.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.473e-05/0.03656, allocations: 176.3 kB / 391.2 MB, free: 5.641 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.03677, allocations: 315.7 kB / 391.5 MB, free: 5.309 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.03683, allocations: 101 kB / 391.6 MB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.03696, allocations: 184.2 kB / 391.8 MB, free: 5.016 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.03708, allocations: 105 kB / 391.9 MB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.03719, allocations: 184.2 kB / 392 MB, free: 4.719 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.499e-05/0.03726, allocations: 112.9 kB / 392.2 MB, free: 4.602 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.218e-05/0.03731, allocations: 79.28 kB / 392.2 MB, free: 4.523 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03731, allocations: 0 / 392.2 MB, free: 4.523 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002729/0.03758, allocations: 4 kB / 392.2 MB, free: 4.52 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.0001681/0.03775, allocations: 162.5 kB / 392.4 MB, free: 4.352 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.768e-05/0.03781, allocations: 4 kB / 392.4 MB, free: 4.348 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.03781, allocations: 0 / 392.4 MB, free: 4.348 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.03781, allocations: 8.031 kB / 392.4 MB, free: 4.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.03828, allocations: 455.7 kB / 392.9 MB, free: 3.891 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002768/0.03856, allocations: 157.6 kB / 393 MB, free: 3.707 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.307e-05/0.03863, allocations: 59.3 kB / 393.1 MB, free: 3.629 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.303e-05/0.03865, allocations: 0 / 393.1 MB, free: 3.629 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.191e-05/0.03867, allocations: 8.5 kB / 393.1 MB, free: 3.621 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.03868, allocations: 0 / 393.1 MB, free: 3.621 MB / 362.7 MB Notification: Performance of Templates: time 0.002706/0.04138, allocations: 349.4 kB / 393.4 MB, free: 3.285 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.841895984020084]