Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.00117/0.00117, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001305/0.001305, allocations: 161 kB / 24.55 MB, free: 20 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 0.9737/0.9737, allocations: 177.2 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.2783/0.2783, allocations: 34.26 MB / 295.7 MB, free: 0.7617 MB / 266.7 MB " [Timeout remaining time 180] 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.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.799e-05/2.976e-05, allocations: 2.312 kB / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001667/0.001696, allocations: 0.5085 MB / 378.5 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.003112, allocations: 0.7487 MB / 379.3 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.759e-05/0.00313, allocations: 0 / 379.3 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.02e-05/0.00315, allocations: 0 / 379.3 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.484e-06/0.003158, allocations: 0 / 379.3 MB, free: 1.398 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:612:3-661:14:writable] Warning: Pure function 'ModelicaTest.Math.Vectors' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.004975, allocations: 0.6496 MB / 379.9 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.343e-05/0.005028, allocations: 7.938 kB / 379.9 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.157e-05/0.00506, allocations: 0 / 379.9 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.666e-05/0.005086, allocations: 0 / 379.9 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.953e-05/0.005106, allocations: 0 / 379.9 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.003e-06/0.005113, allocations: 4 kB / 379.9 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000738/0.005851, allocations: 415.1 kB / 380.3 MB, free: 336 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.528e-06/0.00586, allocations: 0 / 380.3 MB, free: 336 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.117e-05/0.005882, allocations: 0 / 380.3 MB, free: 336 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005365/0.006418, allocations: 382.9 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.006422, allocations: 0 / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.006423, allocations: 0 / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.006427, allocations: 0 / 380.7 MB, free: 15.95 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003907/0.006818, allocations: 409.6 kB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.006862, allocations: 12.03 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.625e-05/0.006908, allocations: 8.922 kB / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.378e-05/0.006982, allocations: 104.6 kB / 381.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.006995, allocations: 4.375 kB / 381.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.007004, allocations: 384 / 381.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.007108, allocations: 55.97 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.007116, allocations: 192 / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.007126, allocations: 384 / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.007134, allocations: 4.312 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.347e-05/0.007157, allocations: 29.64 kB / 381.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001126/0.00727, allocations: 116.6 kB / 381.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.685e-05/0.007327, allocations: 52.77 kB / 381.5 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.592e-05/0.007353, allocations: 37.48 kB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.65e-06/0.007358, allocations: 0 / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.479e-05/0.007403, allocations: 59.09 kB / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.007404, allocations: 0 / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002077/0.007612, allocations: 122.7 kB / 381.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.007663, allocations: 85.05 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.547e-05/0.007719, allocations: 142.2 kB / 381.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.00773, allocations: 25.7 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.007765, allocations: 126.9 kB / 382.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.007782, allocations: 4.469 kB / 382.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.007813, allocations: 19.38 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.007958, allocations: 0.4883 MB / 382.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.606e-05/0.007984, allocations: 29.7 kB / 382.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.596e-05/0.008, allocations: 29.7 kB / 382.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.583e-05/0.008055, allocations: 67.03 kB / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.008058, allocations: 0 / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.472e-05/0.008152, allocations: 89.05 kB / 382.8 MB, free: 13.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.4e-05/0.008186, allocations: 35.58 kB / 382.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.008192, allocations: 4.094 kB / 382.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.008207, allocations: 0 / 382.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.91e-06/0.008212, allocations: 0 / 382.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.008218, allocations: 0 / 382.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.988e-05/0.008238, allocations: 7.938 kB / 382.8 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.008247, allocations: 4 kB / 382.8 MB, free: 13.51 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: 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 8.986e-05/0.008337, allocations: 178.3 kB / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.00835, allocations: 7.984 kB / 383 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.088e-05/0.008361, allocations: 3 kB / 383 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.008365, allocations: 3.984 kB / 383 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.008369, allocations: 4 kB / 383 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.008373, allocations: 0 / 383 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.1e-05/0.008454, allocations: 116.5 kB / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.008457, allocations: 4 kB / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-06/0.008458, allocations: 0 / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.008459, allocations: 3.938 kB / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.008466, allocations: 0 / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.00847, allocations: 3.984 kB / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.008472, allocations: 0 / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.008592, allocations: 135.8 kB / 383.3 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.05e-06/0.008597, allocations: 0 / 383.3 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.008614, allocations: 8.016 kB / 383.3 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.676e-06/0.008622, allocations: 0 / 383.3 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.519e-05/0.008638, allocations: 7.938 kB / 383.3 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.008642, allocations: 0 / 383.3 MB, free: 12.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.597e-05/0.008678, allocations: 119.2 kB / 383.4 MB, free: 12.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008678, allocations: 0 / 383.4 MB, free: 12.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003878/0.009065, allocations: 83.73 kB / 383.5 MB, free: 12.76 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: 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.000587/0.009652, allocations: 249.3 kB / 383.8 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000122/0.009774, allocations: 126.4 kB / 383.9 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.009776, allocations: 0 / 383.9 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.948e-05/0.009816, allocations: 88.8 kB / 384 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.009958, allocations: 8 kB / 384 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002189/0.01018, allocations: 113.6 kB / 384.1 MB, free: 12.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.825e-05/0.01021, allocations: 51.36 kB / 384.1 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.703e-06/0.01022, allocations: 0 / 384.1 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.393e-05/0.01024, allocations: 8.5 kB / 384.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01024, allocations: 0 / 384.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of Templates: time 0.006014/0.01625, allocations: 2.52 MB / 386.7 MB, free: 9.5 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestVectors/TestVectors.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.13923626486212]