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.001054/0.001054, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.00114/0.00114, allocations: 165 kB / 24.56 MB, free: 8 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 1.048/1.048, allocations: 177.1 MB / 205 MB, free: 5.633 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.2548/0.2548, allocations: 34.26 MB / 295.7 MB, free: 0.75 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 2.004e-06/2.004e-06, allocations: 0 / 378 MB, free: 2.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.203e-05, allocations: 6.312 kB / 378 MB, free: 2.684 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001101/0.001123, allocations: 0.5047 MB / 378.5 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.002294, allocations: 0.7565 MB / 379.3 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.929e-05/0.002313, allocations: 0 / 379.3 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.244e-05/0.002335, allocations: 4 kB / 379.3 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.835e-06/0.002343, allocations: 0 / 379.3 MB, free: 1.41 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.00156/0.003903, allocations: 0.6418 MB / 379.9 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.66e-05/0.00395, allocations: 0 / 379.9 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.218e-05/0.003982, allocations: 7.984 kB / 379.9 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.585e-05/0.004008, allocations: 0 / 379.9 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.927e-05/0.004027, allocations: 0 / 379.9 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.276e-06/0.004035, allocations: 3.938 kB / 379.9 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006178/0.004653, allocations: 407.2 kB / 380.3 MB, free: 364 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.117e-06/0.004662, allocations: 0 / 380.3 MB, free: 364 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.979e-05/0.004682, allocations: 3.938 kB / 380.3 MB, free: 360 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004419/0.005124, allocations: 379 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.005126, allocations: 0 / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005127, allocations: 8 kB / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.005132, allocations: 0 / 380.7 MB, free: 15.97 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.0004228/0.005555, allocations: 413.6 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.005594, allocations: 8.031 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.005629, allocations: 0.9375 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.012e-05/0.005689, allocations: 108.6 kB / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.005701, allocations: 384 / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.005711, allocations: 384 / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.824e-05/0.005809, allocations: 63.94 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.005821, allocations: 192 / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.005829, allocations: 4.375 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.005837, allocations: 384 / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.285e-05/0.00586, allocations: 37.58 kB / 381.3 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.315e-05/0.005953, allocations: 104.6 kB / 381.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.716e-05/0.006, allocations: 56.8 kB / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.192e-05/0.006022, allocations: 37.38 kB / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-06/0.006026, allocations: 0 / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.006061, allocations: 67.09 kB / 381.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 6.62e-07/0.006061, allocations: 0 / 381.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001798/0.006241, allocations: 114.9 kB / 381.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.006281, allocations: 89.09 kB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.452e-05/0.006326, allocations: 142.2 kB / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.739e-06/0.006335, allocations: 25.7 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.382e-05/0.006369, allocations: 126.9 kB / 382.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.00639, allocations: 4.344 kB / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.431e-05/0.006415, allocations: 15.38 kB / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.006553, allocations: 496.1 kB / 382.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.139e-05/0.006574, allocations: 29.7 kB / 382.6 MB, free: 13.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.461e-05/0.006589, allocations: 25.7 kB / 382.6 MB, free: 13.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.34e-05/0.006642, allocations: 75.14 kB / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.006644, allocations: 0 / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.135e-05/0.006715, allocations: 93 kB / 382.8 MB, free: 13.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.006748, allocations: 31.89 kB / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.006755, allocations: 0 / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.006775, allocations: 4 kB / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.444e-06/0.006782, allocations: 3.984 kB / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.006789, allocations: 0 / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.265e-05/0.006802, allocations: 3.938 kB / 382.8 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.00681, allocations: 0 / 382.8 MB, free: 13.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 8.873e-05/0.006898, allocations: 190.3 kB / 383 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-06/0.006905, allocations: 0 / 383 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.34e-05/0.006918, allocations: 3 kB / 383 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.006921, allocations: 0 / 383 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.006926, allocations: 4 kB / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.006929, allocations: 0 / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.843e-05/0.006997, allocations: 116.5 kB / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.006999, allocations: 4 kB / 383.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.007, allocations: 0 / 383.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.007001, allocations: 0 / 383.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.007009, allocations: 4 kB / 383.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.00701, allocations: 4 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.007012, allocations: 3.938 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.346e-05/0.007106, allocations: 131.8 kB / 383.3 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-06/0.007111, allocations: 3.938 kB / 383.3 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.007127, allocations: 4 kB / 383.3 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.519e-06/0.007132, allocations: 0 / 383.3 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.58e-05/0.007148, allocations: 0 / 383.3 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.00715, allocations: 0 / 383.3 MB, free: 12.99 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.547e-05/0.007185, allocations: 119.2 kB / 383.4 MB, free: 12.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007185, allocations: 0 / 383.4 MB, free: 12.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002857/0.007471, allocations: 87.77 kB / 383.5 MB, free: 12.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.0004445/0.007916, allocations: 257.5 kB / 383.8 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000116/0.008032, allocations: 118.4 kB / 383.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.008034, allocations: 4 kB / 383.9 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.096e-05/0.008065, allocations: 88.78 kB / 384 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.354e-05/0.008159, allocations: 4 kB / 384 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001759/0.008335, allocations: 113.8 kB / 384.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.093e-05/0.008366, allocations: 55.36 kB / 384.1 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.26e-06/0.008371, allocations: 0 / 384.1 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.331e-05/0.008384, allocations: 12.48 kB / 384.1 MB, free: 12.04 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.008385, allocations: 4 kB / 384.1 MB, free: 12.03 MB / 362.7 MB Notification: Performance of Templates: time 0.003759/0.01214, allocations: 1.971 MB / 386.1 MB, free: 10.06 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.2162742712534964]