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.001832/0.001832, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.001939/0.001939, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 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.65/1.65, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.2362/0.2362, allocations: 46.92 MB / 357.1 MB, free: 10.31 MB / 286.1 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 0.002053/0.002053, allocations: 75.89 kB / 0.4914 GB, free: 7.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1304, allocations: 66 MB / 0.5558 GB, free: 5.363 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001636/0.132, allocations: 497 kB / 0.5563 GB, free: 4.875 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.1334, allocations: 0.7665 MB / 0.5571 GB, free: 4.105 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.992e-05/0.1334, allocations: 4 kB / 0.5571 GB, free: 4.102 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 9.729e-06/0.1334, allocations: 0 / 0.5571 GB, free: 4.102 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.5e-06/0.1334, allocations: 0 / 0.5571 GB, free: 4.102 MB / 414.1 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.001807/0.1353, allocations: 0.6616 MB / 0.5577 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 3.759e-05/0.1353, allocations: 4 kB / 0.5577 GB, free: 3.434 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.761e-05/0.1353, allocations: 3.984 kB / 0.5577 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.303e-05/0.1353, allocations: 4 kB / 0.5577 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.44e-05/0.1353, allocations: 0 / 0.5577 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.589e-06/0.1354, allocations: 0 / 0.5577 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006958/0.136, allocations: 411.2 kB / 0.5581 GB, free: 3.023 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.207e-06/0.1361, allocations: 3.984 kB / 0.5581 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.665e-05/0.1361, allocations: 4 kB / 0.5581 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004558/0.1365, allocations: 343.1 kB / 0.5584 GB, free: 2.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1365, allocations: 4 kB / 0.5585 GB, free: 2.676 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1365, allocations: 3.938 kB / 0.5585 GB, free: 2.672 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.1365, allocations: 0 / 0.5585 GB, free: 2.672 MB / 414.1 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.0004148/0.137, allocations: 388.7 kB / 0.5588 GB, free: 2.234 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.137, allocations: 12.03 kB / 0.5588 GB, free: 2.223 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.313e-05/0.137, allocations: 4.938 kB / 0.5588 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.1371, allocations: 164.4 kB / 0.559 GB, free: 2.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.1371, allocations: 384 / 0.559 GB, free: 2.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-06/0.1371, allocations: 384 / 0.559 GB, free: 2.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.961e-05/0.1372, allocations: 34.27 kB / 0.559 GB, free: 1.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.1372, allocations: 192 / 0.559 GB, free: 1.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.134e-06/0.1372, allocations: 3.938 kB / 0.559 GB, free: 1.977 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.845e-06/0.1372, allocations: 3.938 kB / 0.559 GB, free: 1.973 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.497e-05/0.1372, allocations: 3.938 kB / 0.559 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.1374, allocations: 149.7 kB / 0.5592 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.077e-05/0.1374, allocations: 18.58 kB / 0.5592 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.248e-05/0.1374, allocations: 4.859 kB / 0.5592 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-06/0.1374, allocations: 8.094 kB / 0.5592 GB, free: 1.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.666e-05/0.1375, allocations: 56.27 kB / 0.5593 GB, free: 1.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1375, allocations: 0 / 0.5593 GB, free: 1.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001708/0.1377, allocations: 71.27 kB / 0.5593 GB, free: 1.578 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.1377, allocations: 77.11 kB / 0.5594 GB, free: 1.484 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.636e-05/0.1378, allocations: 97.81 kB / 0.5595 GB, free: 1.379 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.1378, allocations: 25.7 kB / 0.5595 GB, free: 1.348 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.475e-05/0.1378, allocations: 84.27 kB / 0.5596 GB, free: 1.262 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.17e-05/0.1378, allocations: 0 / 0.5596 GB, free: 1.262 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.1379, allocations: 13.72 kB / 0.5596 GB, free: 1.242 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.138, allocations: 310.8 kB / 0.5599 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.925e-06/0.138, allocations: 0 / 0.5599 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.263e-05/0.138, allocations: 4 kB / 0.5599 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.202e-05/0.1381, allocations: 64.25 kB / 0.56 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1381, allocations: 0 / 0.56 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.093e-05/0.1381, allocations: 67.41 kB / 0.56 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.1382, allocations: 33.7 kB / 0.5601 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.1382, allocations: 0 / 0.5601 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1382, allocations: 3.938 kB / 0.5601 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.196e-06/0.1382, allocations: 3.984 kB / 0.5601 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1382, allocations: 0 / 0.5601 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.712e-05/0.1382, allocations: 4 kB / 0.5601 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.1382, allocations: 0 / 0.5601 GB, free: 0.7188 MB / 414.1 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 0.0001077/0.1383, allocations: 143.6 kB / 0.5602 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.1383, allocations: 3.984 kB / 0.5602 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.247e-06/0.1384, allocations: 7.062 kB / 0.5602 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.1384, allocations: 3.938 kB / 0.5602 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1384, allocations: 0 / 0.5602 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.1384, allocations: 4 kB / 0.5602 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.1385, allocations: 149.7 kB / 0.5604 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1385, allocations: 0 / 0.5604 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.1385, allocations: 3.938 kB / 0.5604 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1385, allocations: 0 / 0.5604 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.1385, allocations: 3.938 kB / 0.5604 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.1385, allocations: 8 kB / 0.5604 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1385, allocations: 0 / 0.5604 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.1386, allocations: 90.77 kB / 0.5605 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/0.1386, allocations: 77.11 kB / 0.5606 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.1387, allocations: 7.938 kB / 0.5606 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.416e-06/0.1387, allocations: 0 / 0.5606 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.458e-05/0.1387, allocations: 0 / 0.5606 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.1387, allocations: 4.031 kB / 0.5606 GB, free: 120 kB / 414.1 MB Notification: Performance of sorting global known variables: time 3.42e-05/0.1387, allocations: 75.28 kB / 0.5606 GB, free: 44 kB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1387, allocations: 0 / 0.5606 GB, free: 44 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003736/0.1391, allocations: 87.72 kB / 0.5607 GB, free: 15.96 MB / 430.1 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.000538/0.1396, allocations: 234.8 kB / 0.561 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001023/0.1397, allocations: 59.41 kB / 0.561 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1397, allocations: 0 / 0.561 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.006e-05/0.1398, allocations: 63.41 kB / 0.5611 GB, free: 15.58 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001223/0.1399, allocations: 5.969 kB / 0.5611 GB, free: 15.58 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001808/0.1401, allocations: 89.05 kB / 0.5612 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.1404, allocations: 0.669 MB / 0.5618 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.789e-06/0.1404, allocations: 4 kB / 0.5618 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.929e-06/0.1404, allocations: 7.438 kB / 0.5618 GB, free: 14.76 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1404, allocations: 3.938 kB / 0.5618 GB, free: 14.75 MB / 430.1 MB Notification: Performance of Templates: time 0.0053/0.1457, allocations: 1.932 MB / 0.5637 GB, free: 12.82 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.337552413344383]