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.001082/0.001082, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009953/0.0009953, allocations: 167.3 kB / 24.99 MB, free: 8.746 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 0.9244/0.9244, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.302/0.302, allocations: 32.81 MB / 294.6 MB, free: 1.285 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.723e-06/1.723e-06, allocations: 0 / 376 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.847e-05/3.02e-05, allocations: 6.25 kB / 376 MB, free: 5.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001269/0.001299, allocations: 0.5046 MB / 376.5 MB, free: 4.496 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.002375, allocations: 0.7487 MB / 377.2 MB, free: 3.742 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.771e-05/0.002403, allocations: 0 / 377.2 MB, free: 3.742 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.409e-05/0.002417, allocations: 3.938 kB / 377.2 MB, free: 3.738 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.743e-06/0.002424, allocations: 0 / 377.2 MB, free: 3.738 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.001572/0.003996, allocations: 0.638 MB / 377.9 MB, free: 3.098 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.062e-05/0.004047, allocations: 0 / 377.9 MB, free: 3.098 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.447e-05/0.004081, allocations: 3.984 kB / 377.9 MB, free: 3.094 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.787e-05/0.004109, allocations: 0 / 377.9 MB, free: 3.094 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.935e-05/0.004129, allocations: 4 kB / 377.9 MB, free: 3.09 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.276e-06/0.004137, allocations: 0 / 377.9 MB, free: 3.09 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006193/0.004756, allocations: 411 kB / 378.3 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.789e-06/0.004766, allocations: 4 kB / 378.3 MB, free: 2.684 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.121e-05/0.004787, allocations: 0 / 378.3 MB, free: 2.684 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004392/0.005226, allocations: 383 kB / 378.7 MB, free: 2.309 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.00523, allocations: 0 / 378.7 MB, free: 2.309 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.005232, allocations: 0 / 378.7 MB, free: 2.309 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.005237, allocations: 0 / 378.7 MB, free: 2.309 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.0003346/0.005572, allocations: 417.5 kB / 379.1 MB, free: 1.855 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.005612, allocations: 12.03 kB / 379.1 MB, free: 1.844 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.005651, allocations: 0.9375 kB / 379.1 MB, free: 1.844 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.497e-05/0.005706, allocations: 104.6 kB / 379.2 MB, free: 1.715 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.005716, allocations: 384 / 379.2 MB, free: 1.715 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-06/0.005724, allocations: 4.375 kB / 379.2 MB, free: 1.711 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.246e-05/0.005806, allocations: 59.95 kB / 379.2 MB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-06/0.005812, allocations: 192 / 379.2 MB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.005821, allocations: 4.375 kB / 379.3 MB, free: 1.637 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.00583, allocations: 4.359 kB / 379.3 MB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.99e-05/0.005849, allocations: 33.58 kB / 379.3 MB, free: 1.594 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.533e-05/0.005935, allocations: 112.6 kB / 379.4 MB, free: 1.449 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.614e-05/0.005981, allocations: 48.77 kB / 379.4 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.176e-05/0.006003, allocations: 41.47 kB / 379.5 MB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.659e-06/0.006007, allocations: 0 / 379.5 MB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.006042, allocations: 59.09 kB / 379.5 MB, free: 1.258 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 2.184e-06/0.006044, allocations: 4 kB / 379.6 MB, free: 1.254 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001624/0.006206, allocations: 118.8 kB / 379.7 MB, free: 1.113 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.006245, allocations: 85.09 kB / 379.7 MB, free: 1.012 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.629e-05/0.006291, allocations: 142.2 kB / 379.9 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.116e-06/0.0063, allocations: 25.7 kB / 379.9 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.533e-05/0.006325, allocations: 126.9 kB / 380 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.00634, allocations: 352 / 380 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.219e-05/0.006363, allocations: 19.38 kB / 380.1 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.006474, allocations: 496.1 kB / 380.5 MB, free: 180 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.365e-05/0.006497, allocations: 29.7 kB / 380.6 MB, free: 144 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.473e-05/0.006512, allocations: 33.83 kB / 380.6 MB, free: 104 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.15e-05/0.006574, allocations: 63.08 kB / 380.7 MB, free: 24 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.006576, allocations: 4 kB / 380.7 MB, free: 20 kB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001051/0.006681, allocations: 92.94 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.694e-05/0.006718, allocations: 33.7 kB / 380.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.006725, allocations: 0 / 380.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.006741, allocations: 3.984 kB / 380.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-06/0.006743, allocations: 0 / 380.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.006749, allocations: 0 / 380.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.208e-05/0.006771, allocations: 3.938 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.006781, allocations: 8.094 kB / 380.8 MB, free: 15.86 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 9.636e-05/0.006877, allocations: 182.3 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-06/0.006887, allocations: 4 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.154e-05/0.006898, allocations: 3 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.006901, allocations: 0 / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.006904, allocations: 0 / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.006907, allocations: 0 / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.781e-05/0.006975, allocations: 120.5 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.006977, allocations: 0 / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.615e-06/0.00698, allocations: 4 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.006982, allocations: 4 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.00699, allocations: 0 / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.006992, allocations: 0 / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.006993, allocations: 0 / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.007105, allocations: 135.7 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-06/0.007111, allocations: 4 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.007128, allocations: 0 / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.321e-05/0.007141, allocations: 0 / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.645e-05/0.007157, allocations: 0 / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.007161, allocations: 7.984 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.69e-05/0.007198, allocations: 119.2 kB / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007198, allocations: 4.031 kB / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003157/0.007513, allocations: 83.73 kB / 381.5 MB, free: 15.11 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.0004714/0.007985, allocations: 243.8 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.008089, allocations: 118.5 kB / 381.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.008091, allocations: 3.938 kB / 381.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.494e-05/0.008126, allocations: 92.78 kB / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.859e-05/0.008224, allocations: 12.06 kB / 381.9 MB, free: 14.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000186/0.00841, allocations: 109.7 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.13e-05/0.008442, allocations: 59.34 kB / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.58e-06/0.008447, allocations: 0 / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.146e-05/0.008459, allocations: 8.5 kB / 382.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.008459, allocations: 0 / 382.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of Templates: time 0.004073/0.01253, allocations: 1.978 MB / 384.1 MB, free: 12.39 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: 3.2013919120654464]