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.00149/0.00149, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009874/0.0009874, 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.9585/0.9585, allocations: 177.1 MB / 205 MB, free: 5.273 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.2356/0.2356, allocations: 32.8 MB / 294.3 MB, free: 1.246 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 1.643e-06/1.643e-06, allocations: 0 / 376 MB, free: 4.688 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.102e-05, allocations: 5.969 kB / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.000948/0.0009691, allocations: 0.4969 MB / 376.5 MB, free: 4.184 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.00199, allocations: 0.7525 MB / 377.2 MB, free: 3.426 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.557e-05/0.002006, allocations: 0 / 377.2 MB, free: 3.426 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.81e-05/0.002024, allocations: 0 / 377.2 MB, free: 3.426 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.53e-06/0.00203, allocations: 4 kB / 377.3 MB, free: 3.422 MB / 346.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.00131/0.003339, allocations: 0.6457 MB / 377.9 MB, free: 2.773 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.287e-05/0.003382, allocations: 3.984 kB / 377.9 MB, free: 2.77 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.846e-05/0.003411, allocations: 3.984 kB / 377.9 MB, free: 2.766 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.501e-05/0.003436, allocations: 4 kB / 377.9 MB, free: 2.762 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.676e-05/0.003453, allocations: 0 / 377.9 MB, free: 2.762 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.302e-06/0.003459, allocations: 4 kB / 377.9 MB, free: 2.758 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005143/0.003973, allocations: 411 kB / 378.3 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.843e-06/0.00398, allocations: 0 / 378.3 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.608e-05/0.003996, allocations: 3.984 kB / 378.3 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003782/0.004374, allocations: 371 kB / 378.7 MB, free: 1.988 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.004377, allocations: 0 / 378.7 MB, free: 1.988 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.004377, allocations: 0 / 378.7 MB, free: 1.988 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.004381, allocations: 4 kB / 378.7 MB, free: 1.984 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.0003026/0.004683, allocations: 409.6 kB / 379.1 MB, free: 1.539 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.004715, allocations: 8.031 kB / 379.1 MB, free: 1.531 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.00475, allocations: 8.938 kB / 379.1 MB, free: 1.523 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.963e-05/0.00481, allocations: 116.6 kB / 379.2 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.004821, allocations: 4.359 kB / 379.2 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-06/0.004828, allocations: 384 / 379.2 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.378e-05/0.004912, allocations: 63.89 kB / 379.3 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.004918, allocations: 192 / 379.3 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.054e-06/0.004925, allocations: 384 / 379.3 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.004931, allocations: 384 / 379.3 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.005e-05/0.004951, allocations: 33.64 kB / 379.3 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.954e-05/0.005041, allocations: 108.6 kB / 379.4 MB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.821e-05/0.005089, allocations: 60.8 kB / 379.5 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.812e-05/0.005107, allocations: 33.39 kB / 379.5 MB, free: 1.004 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.611e-06/0.005113, allocations: 3.984 kB / 379.5 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.005149, allocations: 67.09 kB / 379.6 MB, free: 0.918 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 5.71e-07/0.00515, allocations: 0 / 379.6 MB, free: 0.918 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001592/0.005309, allocations: 110.8 kB / 379.7 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.005355, allocations: 85.09 kB / 379.8 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.502e-05/0.0054, allocations: 142.2 kB / 379.9 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.286e-06/0.005408, allocations: 25.7 kB / 379.9 MB, free: 0.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.964e-05/0.005438, allocations: 126.9 kB / 380.1 MB, free: 380 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.005455, allocations: 8.469 kB / 380.1 MB, free: 372 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-05/0.005476, allocations: 15.38 kB / 380.1 MB, free: 348 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.005595, allocations: 496.1 kB / 380.6 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.035e-05/0.005616, allocations: 29.7 kB / 380.6 MB, free: 15.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.329e-05/0.005629, allocations: 29.64 kB / 380.6 MB, free: 15.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.314e-05/0.005672, allocations: 71.08 kB / 380.7 MB, free: 15.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.005674, allocations: 0 / 380.7 MB, free: 15.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.266e-05/0.005726, allocations: 89.06 kB / 380.8 MB, free: 15.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.00575, allocations: 32.36 kB / 380.8 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.005755, allocations: 4.094 kB / 380.8 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.005765, allocations: 0 / 380.8 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.99e-06/0.00577, allocations: 4 kB / 380.8 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.005775, allocations: 3.984 kB / 380.8 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.032e-05/0.005786, allocations: 3.938 kB / 380.8 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.005791, allocations: 0 / 380.8 MB, free: 15.53 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 6.215e-05/0.005853, allocations: 186.3 kB / 381 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-06/0.005858, allocations: 3.938 kB / 381 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.093e-06/0.005866, allocations: 3 kB / 381 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.005868, allocations: 0 / 381 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.005871, allocations: 4 kB / 381 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.005874, allocations: 4 kB / 381 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.944e-05/0.005923, allocations: 116.5 kB / 381.1 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.005923, allocations: 0 / 381.1 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.61e-07/0.005924, allocations: 0 / 381.1 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.005925, allocations: 0 / 381.1 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.005933, allocations: 7.938 kB / 381.1 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.005934, allocations: 0 / 381.1 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.005935, allocations: 0 / 381.1 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.341e-05/0.006008, allocations: 131.8 kB / 381.3 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-06/0.006013, allocations: 4 kB / 381.3 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.006025, allocations: 4.031 kB / 381.3 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.288e-06/0.006029, allocations: 4 kB / 381.3 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.07e-05/0.00604, allocations: 0 / 381.3 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.006041, allocations: 0 / 381.3 MB, free: 14.99 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.858e-05/0.00607, allocations: 123.1 kB / 381.4 MB, free: 14.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00607, allocations: 0 / 381.4 MB, free: 14.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002367/0.006307, allocations: 83.73 kB / 381.5 MB, free: 14.79 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.0003814/0.006688, allocations: 249.7 kB / 381.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.955e-05/0.006778, allocations: 118.5 kB / 381.9 MB, free: 14.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.00678, allocations: 0 / 381.9 MB, free: 14.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.731e-05/0.006807, allocations: 92.78 kB / 381.9 MB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.617e-05/0.006893, allocations: 4 kB / 381.9 MB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001578/0.007051, allocations: 113.7 kB / 382.1 MB, free: 14.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.433e-05/0.007075, allocations: 51.36 kB / 382.1 MB, free: 14.06 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.869e-06/0.00708, allocations: 0 / 382.1 MB, free: 14.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.323e-05/0.007093, allocations: 8.5 kB / 382.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.007094, allocations: 0 / 382.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of Templates: time 0.004155/0.01125, allocations: 2.515 MB / 384.6 MB, free: 11.54 MB / 362.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 -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.992267698980868]