Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.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.0008133/0.0008133, allocations: 80.45 kB / 20.69 MB, free: 3.875 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.0007983/0.0007983, allocations: 165.9 kB / 23.96 MB, free: 0.6055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7973/0.7973, allocations: 158.6 MB / 185.7 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1201/0.1201, allocations: 32.37 MB / 270.4 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 408.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.634e-05/1.788e-05, allocations: 9.594 kB / 408.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.0008728/0.0008907, allocations: 0.5029 MB / 408.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.002647, allocations: 1.916 MB / 410.5 MB, free: 10.6 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.247e-05/0.002659, allocations: 0 / 410.5 MB, free: 10.6 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.234e-05/0.002672, allocations: 0 / 410.5 MB, free: 10.6 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.771e-06/0.002678, allocations: 3.938 kB / 410.5 MB, free: 10.6 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.003963, allocations: 0.7743 MB / 411.3 MB, free: 9.82 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.804e-05/0.004011, allocations: 0 / 411.3 MB, free: 9.82 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.958e-05/0.004041, allocations: 3.938 kB / 411.3 MB, free: 9.816 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.673e-05/0.004067, allocations: 7.984 kB / 411.3 MB, free: 9.809 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.604e-05/0.004083, allocations: 0 / 411.3 MB, free: 9.809 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.182e-06/0.00409, allocations: 0 / 411.3 MB, free: 9.809 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006983/0.004788, allocations: 0.7095 MB / 412 MB, free: 9.098 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.083e-06/0.004795, allocations: 0 / 412 MB, free: 9.098 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.419e-05/0.004809, allocations: 4 kB / 412 MB, free: 9.094 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000529/0.005338, allocations: 0.6587 MB / 412.7 MB, free: 8.434 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.00534, allocations: 0 / 412.7 MB, free: 8.434 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.005341, allocations: 0 / 412.7 MB, free: 8.434 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.005344, allocations: 0 / 412.7 MB, free: 8.434 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002904/0.005635, allocations: 331.4 kB / 413 MB, free: 8.074 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.005667, allocations: 12.03 kB / 413 MB, free: 8.062 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.005696, allocations: 4.938 kB / 413 MB, free: 8.059 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.568e-05/0.005782, allocations: 109.7 kB / 413.1 MB, free: 7.926 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.005793, allocations: 384 / 413.1 MB, free: 7.926 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.894e-06/0.005801, allocations: 4.375 kB / 413.1 MB, free: 7.922 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.961e-05/0.005871, allocations: 51.97 kB / 413.2 MB, free: 7.859 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.005877, allocations: 192 / 413.2 MB, free: 7.859 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.005885, allocations: 4.359 kB / 413.2 MB, free: 7.855 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.005891, allocations: 11.88 kB / 413.2 MB, free: 7.844 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.003e-05/0.005911, allocations: 25.7 kB / 413.2 MB, free: 7.812 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.217e-05/0.005993, allocations: 97.33 kB / 413.3 MB, free: 7.688 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.872e-05/0.006032, allocations: 56.23 kB / 413.4 MB, free: 7.617 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.643e-05/0.006049, allocations: 30.56 kB / 413.4 MB, free: 7.578 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.803e-06/0.006055, allocations: 4.062 kB / 413.4 MB, free: 7.574 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.006083, allocations: 56.27 kB / 413.4 MB, free: 7.504 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 4.71e-07/0.006084, allocations: 0 / 413.4 MB, free: 7.504 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001416/0.006225, allocations: 118.8 kB / 413.6 MB, free: 7.363 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.006261, allocations: 81.05 kB / 413.6 MB, free: 7.266 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.543e-05/0.006286, allocations: 93.81 kB / 413.7 MB, free: 7.164 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.006295, allocations: 29.7 kB / 413.8 MB, free: 7.129 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.588e-05/0.006371, allocations: 88.06 kB / 413.8 MB, free: 7.039 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.273e-05/0.006384, allocations: 4.125 kB / 413.8 MB, free: 7.035 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.759e-05/0.006401, allocations: 9.719 kB / 413.9 MB, free: 7.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.573e-05/0.006467, allocations: 318.8 kB / 414.2 MB, free: 6.699 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.356e-05/0.00648, allocations: 29.69 kB / 414.2 MB, free: 6.664 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.08e-05/0.006491, allocations: 29.64 kB / 414.2 MB, free: 6.629 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.101e-05/0.006522, allocations: 60.27 kB / 414.3 MB, free: 6.555 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.006524, allocations: 4 kB / 414.3 MB, free: 6.551 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.339e-05/0.006568, allocations: 89.11 kB / 414.4 MB, free: 6.445 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.00659, allocations: 36.34 kB / 414.4 MB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.006594, allocations: 8.094 kB / 414.4 MB, free: 6.398 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.006605, allocations: 0 / 414.4 MB, free: 6.398 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.006605, allocations: 0 / 414.4 MB, free: 6.398 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.006611, allocations: 7.875 kB / 414.4 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.556e-06/0.006619, allocations: 0 / 414.4 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.006625, allocations: 0 / 414.4 MB, free: 6.391 MB / 346.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 5.023e-05/0.006675, allocations: 135.5 kB / 414.6 MB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-06/0.006678, allocations: 0 / 414.6 MB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.598e-06/0.006688, allocations: 6.984 kB / 414.6 MB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.11e-07/0.006688, allocations: 0 / 414.6 MB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.006692, allocations: 8 kB / 414.6 MB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.006695, allocations: 3.938 kB / 414.6 MB, free: 6.223 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.789e-05/0.006733, allocations: 93.33 kB / 414.7 MB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.006733, allocations: 0 / 414.7 MB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-07/0.006733, allocations: 0 / 414.7 MB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.81e-07/0.006734, allocations: 0 / 414.7 MB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.006741, allocations: 8 kB / 414.7 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.31e-07/0.006741, allocations: 0 / 414.7 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.4e-07/0.006741, allocations: 0 / 414.7 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.025e-05/0.006802, allocations: 116.5 kB / 414.8 MB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.506e-06/0.006805, allocations: 7.938 kB / 414.8 MB, free: 5.941 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.534e-06/0.006813, allocations: 4.031 kB / 414.8 MB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.19e-06/0.006818, allocations: 7.938 kB / 414.8 MB, free: 5.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.054e-05/0.006828, allocations: 3.984 kB / 414.8 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-06/0.00683, allocations: 0 / 414.8 MB, free: 5.926 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.775e-05/0.006847, allocations: 79.22 kB / 414.9 MB, free: 5.848 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006847, allocations: 0 / 414.9 MB, free: 5.848 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002411/0.007089, allocations: 131.7 kB / 415 MB, free: 5.719 MB / 346.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0004348/0.007523, allocations: 277.9 kB / 415.3 MB, free: 5.441 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.041e-05/0.007604, allocations: 118.8 kB / 415.4 MB, free: 5.301 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.007605, allocations: 0 / 415.4 MB, free: 5.301 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.345e-05/0.007628, allocations: 81.11 kB / 415.5 MB, free: 5.203 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.632e-05/0.007715, allocations: 4 kB / 415.5 MB, free: 5.199 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002692/0.007984, allocations: 136.5 kB / 415.6 MB, free: 5.027 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.953e-05/0.008013, allocations: 55.3 kB / 415.7 MB, free: 4.953 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.054e-05/0.008024, allocations: 12.48 kB / 415.7 MB, free: 4.941 MB / 346.7 MB Notification: Performance of SimCode: time 3.61e-07/0.008024, allocations: 4 kB / 415.7 MB, free: 4.938 MB / 346.7 MB Notification: Performance of Templates: time 0.003139/0.01116, allocations: 3.195 MB / 418.9 MB, free: 1.738 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.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.3891366152092814]