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.001706/0.001706, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.002093/0.002093, allocations: 210.8 kB / 24.49 MB, free: 3.965 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.48/1.48, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2325/0.2325, allocations: 46.95 MB / 361.6 MB, free: 4.055 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.002302/0.002302, allocations: 71.89 kB / 0.4973 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3529, allocations: 66.03 MB / 0.5618 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001691/0.3546, allocations: 493.1 kB / 0.5623 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.3561, allocations: 0.7237 MB / 0.563 GB, free: 2.984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.523e-05/0.3561, allocations: 0 / 0.563 GB, free: 2.984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.248e-05/0.3561, allocations: 7.938 kB / 0.563 GB, free: 2.977 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.022e-06/0.3561, allocations: 0 / 0.563 GB, free: 2.977 MB / 398.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.001913/0.358, allocations: 0.6458 MB / 0.5636 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.399e-05/0.3581, allocations: 7.984 kB / 0.5636 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.746e-05/0.3581, allocations: 4 kB / 0.5636 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.463e-05/0.3581, allocations: 0 / 0.5636 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.72e-05/0.3581, allocations: 0 / 0.5636 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.731e-06/0.3581, allocations: 0 / 0.5636 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000796/0.3589, allocations: 423.2 kB / 0.564 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.044e-05/0.359, allocations: 4 kB / 0.564 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.853e-05/0.359, allocations: 0 / 0.564 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005257/0.3595, allocations: 341.6 kB / 0.5644 GB, free: 1.574 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3595, allocations: 0 / 0.5644 GB, free: 1.574 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.3595, allocations: 4 kB / 0.5644 GB, free: 1.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.3595, allocations: 0 / 0.5644 GB, free: 1.57 MB / 398.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.0004374/0.36, allocations: 315.6 kB / 0.5647 GB, free: 1.223 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.36, allocations: 12.03 kB / 0.5647 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.892e-05/0.36, allocations: 4.875 kB / 0.5647 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.593e-05/0.3601, allocations: 103.6 kB / 0.5648 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.3601, allocations: 384 / 0.5648 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.3601, allocations: 4.375 kB / 0.5648 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.3603, allocations: 51.97 kB / 0.5648 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3603, allocations: 192 / 0.5648 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.3603, allocations: 3.938 kB / 0.5648 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.649e-06/0.3603, allocations: 8 kB / 0.5649 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.18e-05/0.3603, allocations: 29.69 kB / 0.5649 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001245/0.3604, allocations: 97.33 kB / 0.565 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.439e-05/0.3605, allocations: 48.25 kB / 0.565 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.008e-05/0.3605, allocations: 30.56 kB / 0.565 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.3605, allocations: 4.062 kB / 0.5651 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.986e-05/0.3606, allocations: 56.27 kB / 0.5651 GB, free: 0.668 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.3606, allocations: 0 / 0.5651 GB, free: 0.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002046/0.3608, allocations: 126.7 kB / 0.5652 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.3608, allocations: 85.17 kB / 0.5653 GB, free: 428 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.087e-05/0.3609, allocations: 97.75 kB / 0.5654 GB, free: 320 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.3609, allocations: 25.7 kB / 0.5654 GB, free: 288 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.361, allocations: 84.14 kB / 0.5655 GB, free: 200 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.327e-05/0.361, allocations: 0 / 0.5655 GB, free: 200 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.361, allocations: 17.7 kB / 0.5655 GB, free: 176 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.3612, allocations: 318.8 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.287e-05/0.3612, allocations: 25.7 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.034e-05/0.3612, allocations: 25.7 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.608e-05/0.3613, allocations: 60.27 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3613, allocations: 4.062 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.946e-05/0.3614, allocations: 93.09 kB / 0.566 GB, free: 15.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.474e-05/0.3614, allocations: 29.7 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3614, allocations: 0 / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.3614, allocations: 4 kB / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.3614, allocations: 3.938 kB / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.3614, allocations: 3.938 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.238e-05/0.3614, allocations: 0 / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.3615, allocations: 4 kB / 0.5661 GB, free: 15.55 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.0001065/0.3616, allocations: 143.6 kB / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-06/0.3616, allocations: 0 / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.779e-06/0.3616, allocations: 3 kB / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.3616, allocations: 0 / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3616, allocations: 3.938 kB / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-06/0.3616, allocations: 4 kB / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.3616, allocations: 0 / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.081e-05/0.3616, allocations: 4 kB / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.3616, allocations: 0 / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001588/0.3618, allocations: 219.8 kB / 0.5664 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001931/0.362, allocations: 278.1 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.169e-05/0.362, allocations: 29.69 kB / 0.5667 GB, free: 14.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.455e-05/0.362, allocations: 75.28 kB / 0.5668 GB, free: 14.72 MB / 414.1 MB Notification: Performance of Backend: time 3.3e-07/0.362, allocations: 0 / 0.5668 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008088/0.3628, allocations: 291.8 kB / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of SimCode: time 0.0004571/0.3633, allocations: 0.5795 MB / 0.5676 GB, free: 13.78 MB / 414.1 MB Notification: Performance of Templates: time 0.005317/0.3686, allocations: 1.953 MB / 0.5695 GB, free: 11.83 MB / 414.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins1/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.076752483997552]