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.00178/0.00178, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002153/0.002153, allocations: 212.4 kB / 23.73 MB, free: 4.387 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.552/1.552, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2312/0.2312, allocations: 46.95 MB / 360.9 MB, free: 4.066 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.002082/0.002082, allocations: 67.89 kB / 0.4966 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3198, allocations: 66.03 MB / 0.5611 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001591/0.3214, allocations: 489.1 kB / 0.5615 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.3228, allocations: 0.7315 MB / 0.5622 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.349e-05/0.3228, allocations: 0 / 0.5622 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.452e-05/0.3228, allocations: 0 / 0.5622 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.972e-06/0.3228, allocations: 0 / 0.5622 GB, free: 2.992 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.001847/0.3246, allocations: 0.6378 MB / 0.5629 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.116e-05/0.3247, allocations: 3.984 kB / 0.5629 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.332e-05/0.3247, allocations: 4 kB / 0.5629 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.589e-05/0.3247, allocations: 11.92 kB / 0.5629 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.599e-05/0.3248, allocations: 0 / 0.5629 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.959e-06/0.3248, allocations: 0 / 0.5629 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000808/0.3256, allocations: 419.2 kB / 0.5633 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.618e-06/0.3256, allocations: 3.984 kB / 0.5633 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.613e-05/0.3256, allocations: 0 / 0.5633 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004983/0.3261, allocations: 337.6 kB / 0.5636 GB, free: 1.598 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3261, allocations: 0 / 0.5636 GB, free: 1.598 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3261, allocations: 0 / 0.5636 GB, free: 1.598 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.3261, allocations: 0 / 0.5636 GB, free: 1.598 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.0003756/0.3265, allocations: 319.5 kB / 0.5639 GB, free: 1.246 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3265, allocations: 16.03 kB / 0.5639 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.052e-05/0.3265, allocations: 0.9375 kB / 0.5639 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.057e-05/0.3266, allocations: 103.6 kB / 0.564 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.3267, allocations: 8.25 kB / 0.564 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-06/0.3267, allocations: 4.375 kB / 0.564 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.461e-05/0.3268, allocations: 55.97 kB / 0.5641 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.3268, allocations: 192 / 0.5641 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.3268, allocations: 7.938 kB / 0.5641 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3268, allocations: 0 / 0.5641 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.226e-05/0.3268, allocations: 33.69 kB / 0.5641 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001116/0.3269, allocations: 101.3 kB / 0.5642 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.013e-05/0.327, allocations: 44.22 kB / 0.5643 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.327, allocations: 30.66 kB / 0.5643 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.037e-06/0.327, allocations: 4 kB / 0.5643 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.204e-05/0.3271, allocations: 60.27 kB / 0.5644 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.3271, allocations: 0 / 0.5644 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.000188/0.3273, allocations: 118.7 kB / 0.5645 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.3273, allocations: 77.11 kB / 0.5646 GB, free: 452 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.342e-05/0.3274, allocations: 97.81 kB / 0.5646 GB, free: 344 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.3274, allocations: 29.7 kB / 0.5647 GB, free: 308 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.477e-05/0.3274, allocations: 84.27 kB / 0.5648 GB, free: 220 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.3275, allocations: 0 / 0.5648 GB, free: 220 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/0.3275, allocations: 13.7 kB / 0.5648 GB, free: 200 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3276, allocations: 322.8 kB / 0.5651 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.476e-05/0.3277, allocations: 29.64 kB / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.473e-05/0.3277, allocations: 25.7 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.373e-05/0.3277, allocations: 64.27 kB / 0.5652 GB, free: 15.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3277, allocations: 0 / 0.5652 GB, free: 15.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.579e-05/0.3278, allocations: 89.09 kB / 0.5653 GB, free: 15.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/0.3279, allocations: 37.8 kB / 0.5653 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.3279, allocations: 0 / 0.5653 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.3279, allocations: 0 / 0.5653 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.625e-06/0.3279, allocations: 3.938 kB / 0.5653 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.3279, allocations: 0 / 0.5653 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.3e-05/0.3279, allocations: 0 / 0.5653 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.3279, allocations: 3.938 kB / 0.5653 GB, free: 15.57 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 9.173e-05/0.328, allocations: 143.5 kB / 0.5655 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-06/0.328, allocations: 0 / 0.5655 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.498e-06/0.328, allocations: 3 kB / 0.5655 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.328, allocations: 7.938 kB / 0.5655 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.328, allocations: 4 kB / 0.5655 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.328, allocations: 0 / 0.5655 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.784e-05/0.3281, allocations: 97.31 kB / 0.5656 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.3281, allocations: 0 / 0.5656 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.3281, allocations: 0 / 0.5656 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-06/0.3281, allocations: 3.938 kB / 0.5656 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.3281, allocations: 11.97 kB / 0.5656 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.3281, allocations: 0 / 0.5656 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3281, allocations: 3.938 kB / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.3283, allocations: 112.5 kB / 0.5657 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-06/0.3283, allocations: 8.016 kB / 0.5657 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.3283, allocations: 0 / 0.5657 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.087e-05/0.3283, allocations: 4 kB / 0.5657 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.121e-05/0.3283, allocations: 7.875 kB / 0.5657 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.3283, allocations: 4 kB / 0.5657 GB, free: 15.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.226e-05/0.3283, allocations: 75.28 kB / 0.5658 GB, free: 15.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3283, allocations: 0 / 0.5658 GB, free: 15.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003497/0.3287, allocations: 87.73 kB / 0.5659 GB, free: 14.93 MB / 414.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.0005131/0.3292, allocations: 223.9 kB / 0.5661 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001322/0.3293, allocations: 114.8 kB / 0.5662 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3293, allocations: 0 / 0.5662 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.211e-05/0.3294, allocations: 85.11 kB / 0.5663 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001136/0.3295, allocations: 0 / 0.5663 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001865/0.3297, allocations: 106.8 kB / 0.5664 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.242e-05/0.3297, allocations: 55.36 kB / 0.5664 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.148e-06/0.3297, allocations: 0 / 0.5664 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.47e-05/0.3297, allocations: 7.438 kB / 0.5664 GB, free: 14.25 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3297, allocations: 4.062 kB / 0.5664 GB, free: 14.25 MB / 414.1 MB Notification: Performance of Templates: time 0.005134/0.3349, allocations: 1.947 MB / 0.5683 GB, free: 12.3 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/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.162689151708037]