Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009477/0.0009477, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001067/0.001067, allocations: 172.2 kB / 24.92 MB, free: 9.113 MB / 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.092/1.092, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.2561/0.2561, allocations: 32.81 MB / 294.6 MB, free: 1.172 MB / 266.7 MB " [Timeout remaining time 180] 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.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 323.2 MB, free: 9.664 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.594e-05/3.864e-05, allocations: 4.281 kB / 323.2 MB, free: 9.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001722/0.00176, allocations: 0.5412 MB / 323.8 MB, free: 9.117 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.003046, allocations: 0.7452 MB / 324.5 MB, free: 8.367 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.984e-05/0.003066, allocations: 0 / 324.5 MB, free: 8.367 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.745e-05/0.003084, allocations: 0 / 324.5 MB, free: 8.367 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.217e-06/0.003093, allocations: 4 kB / 324.5 MB, free: 8.363 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.001668/0.004761, allocations: 0.6378 MB / 325.2 MB, free: 7.723 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.695e-05/0.004808, allocations: 0.625 kB / 325.2 MB, free: 7.723 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.536e-05/0.004843, allocations: 7.969 kB / 325.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.658e-05/0.00487, allocations: 4 kB / 325.2 MB, free: 7.711 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.686e-05/0.004887, allocations: 0 / 325.2 MB, free: 7.711 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.811e-06/0.004893, allocations: 0 / 325.2 MB, free: 7.711 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005927/0.005485, allocations: 423.1 kB / 325.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.332e-06/0.005492, allocations: 0 / 325.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.489e-05/0.005507, allocations: 11.98 kB / 325.6 MB, free: 7.285 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003694/0.005876, allocations: 379 kB / 326 MB, free: 6.914 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.005878, allocations: 0 / 326 MB, free: 6.914 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.005879, allocations: 0 / 326 MB, free: 6.914 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.005882, allocations: 0 / 326 MB, free: 6.914 MB / 298.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.00023/0.006113, allocations: 286 kB / 326.3 MB, free: 6.602 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.006143, allocations: 8.031 kB / 326.3 MB, free: 6.594 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.979e-05/0.006162, allocations: 0.9375 kB / 326.3 MB, free: 6.594 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.369e-05/0.006216, allocations: 117.7 kB / 326.4 MB, free: 6.453 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.006224, allocations: 4.375 kB / 326.4 MB, free: 6.449 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.599e-06/0.006229, allocations: 384 / 326.4 MB, free: 6.449 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.116e-05/0.00629, allocations: 59.97 kB / 326.4 MB, free: 6.379 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-06/0.006295, allocations: 192 / 326.4 MB, free: 6.379 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.541e-06/0.006301, allocations: 384 / 326.4 MB, free: 6.379 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.006305, allocations: 384 / 326.5 MB, free: 6.379 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.442e-05/0.00632, allocations: 33.64 kB / 326.5 MB, free: 6.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.075e-05/0.00638, allocations: 69.02 kB / 326.6 MB, free: 6.258 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.654e-05/0.006417, allocations: 48.25 kB / 326.6 MB, free: 6.195 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.433e-05/0.006431, allocations: 30.56 kB / 326.6 MB, free: 6.156 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-06/0.006434, allocations: 0 / 326.6 MB, free: 6.156 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.006462, allocations: 60.33 kB / 326.7 MB, free: 6.082 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 4.61e-07/0.006462, allocations: 4 kB / 326.7 MB, free: 6.078 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 9.183e-05/0.006554, allocations: 118.7 kB / 326.8 MB, free: 5.938 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.006584, allocations: 81.11 kB / 326.9 MB, free: 5.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.662e-05/0.006611, allocations: 93.8 kB / 327 MB, free: 5.738 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.098e-06/0.00662, allocations: 25.7 kB / 327 MB, free: 5.707 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.702e-05/0.006637, allocations: 80.14 kB / 327.1 MB, free: 5.625 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.006651, allocations: 5.188 kB / 327.1 MB, free: 5.621 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.95e-05/0.006671, allocations: 13.72 kB / 327.1 MB, free: 5.602 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.483e-05/0.006736, allocations: 314.8 kB / 327.4 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.317e-05/0.006749, allocations: 29.69 kB / 327.4 MB, free: 5.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.055e-05/0.006759, allocations: 33.83 kB / 327.5 MB, free: 5.211 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.854e-05/0.006798, allocations: 60.27 kB / 327.5 MB, free: 5.137 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.006799, allocations: 0 / 327.5 MB, free: 5.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.582e-05/0.006845, allocations: 85.09 kB / 327.6 MB, free: 5.035 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.006874, allocations: 33.7 kB / 327.6 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.006879, allocations: 0 / 327.6 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.00689, allocations: 3.938 kB / 327.6 MB, free: 4.992 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.513e-06/0.006892, allocations: 0 / 327.6 MB, free: 4.992 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.818e-06/0.006896, allocations: 0 / 327.6 MB, free: 4.992 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.355e-05/0.006909, allocations: 8.031 kB / 327.7 MB, free: 4.984 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.006914, allocations: 0 / 327.7 MB, free: 4.984 MB / 298.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.981e-05/0.006974, allocations: 143.5 kB / 327.8 MB, free: 4.828 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-06/0.006978, allocations: 0 / 327.8 MB, free: 4.828 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.508e-06/0.006988, allocations: 10.98 kB / 327.8 MB, free: 4.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.006989, allocations: 0 / 327.8 MB, free: 4.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.006991, allocations: 0 / 327.8 MB, free: 4.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.006993, allocations: 0 / 327.8 MB, free: 4.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.577e-05/0.007038, allocations: 61.84 kB / 327.9 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.007039, allocations: 0 / 327.9 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.022e-06/0.00704, allocations: 4 kB / 327.9 MB, free: 4.738 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-07/0.00704, allocations: 4 kB / 327.9 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-06/0.007044, allocations: 0 / 327.9 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.007044, allocations: 0 / 327.9 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.007045, allocations: 0 / 327.9 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.971e-05/0.007105, allocations: 116.4 kB / 328 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-06/0.00711, allocations: 4.344 kB / 328 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-06/0.007119, allocations: 0 / 328 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.127e-06/0.007123, allocations: 3.938 kB / 328 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.077e-06/0.007133, allocations: 3.984 kB / 328 MB, free: 4.578 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.007138, allocations: 4 kB / 328 MB, free: 4.574 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.093e-06/0.007145, allocations: 12.88 kB / 328 MB, free: 4.559 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.007145, allocations: 0 / 328 MB, free: 4.559 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002259/0.007371, allocations: 83.73 kB / 328.1 MB, free: 4.477 MB / 298.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.0003921/0.007763, allocations: 229.3 kB / 328.3 MB, free: 4.262 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.554e-05/0.007848, allocations: 119.7 kB / 328.4 MB, free: 4.117 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.007851, allocations: 0 / 328.4 MB, free: 4.117 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.606e-05/0.007877, allocations: 85.97 kB / 328.5 MB, free: 4.012 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.548e-05/0.007922, allocations: 8.062 kB / 328.5 MB, free: 4.004 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001296/0.008052, allocations: 117.3 kB / 328.6 MB, free: 3.855 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.434e-05/0.008076, allocations: 51.36 kB / 328.7 MB, free: 3.785 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.758e-06/0.008081, allocations: 4 kB / 328.7 MB, free: 3.781 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.235e-05/0.008113, allocations: 51.38 kB / 328.7 MB, free: 3.73 MB / 298.7 MB Notification: Performance of SimCode: time 3.41e-07/0.008114, allocations: 0 / 328.7 MB, free: 3.73 MB / 298.7 MB Notification: Performance of Templates: time 0.003683/0.0118, allocations: 2.328 MB / 331.1 MB, free: 1.402 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 2.874308065045625]