Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001904/0.001904, allocations: 113.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00139/0.00139, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 230.2 MB / 257.8 MB, free: 8.512 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2295/0.2295, allocations: 46.9 MB / 361.1 MB, free: 4.633 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002329/0.002329, allocations: 84.14 kB / 0.4967 GB, free: 7.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.336, allocations: 65.99 MB / 0.5612 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001692/0.3377, allocations: 0.4892 MB / 0.5617 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.3392, allocations: 0.7743 MB / 0.5624 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.698e-05/0.3392, allocations: 0 / 0.5624 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.615e-05/0.3392, allocations: 0 / 0.5624 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.682e-06/0.3392, allocations: 0 / 0.5624 GB, free: 3.773 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.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.001703/0.3409, allocations: 0.6694 MB / 0.5631 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.095e-05/0.341, allocations: 0 / 0.5631 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.471e-05/0.341, allocations: 0 / 0.5631 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.353e-05/0.341, allocations: 0 / 0.5631 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.982e-05/0.341, allocations: 11.98 kB / 0.5631 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.162e-06/0.341, allocations: 0 / 0.5631 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007055/0.3417, allocations: 411.2 kB / 0.5635 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.504e-06/0.3417, allocations: 0 / 0.5635 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.886e-05/0.3418, allocations: 3.938 kB / 0.5635 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004652/0.3422, allocations: 354 kB / 0.5638 GB, free: 2.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.3422, allocations: 0 / 0.5638 GB, free: 2.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.3422, allocations: 0 / 0.5638 GB, free: 2.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3422, allocations: 0 / 0.5638 GB, free: 2.34 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.0004437/0.3427, allocations: 392.7 kB / 0.5642 GB, free: 1.898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.3427, allocations: 15.97 kB / 0.5642 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.895e-05/0.3428, allocations: 0.9375 kB / 0.5642 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.3429, allocations: 161.4 kB / 0.5644 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.3429, allocations: 4.375 kB / 0.5644 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.3429, allocations: 384 / 0.5644 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.566e-05/0.343, allocations: 30.25 kB / 0.5644 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.343, allocations: 192 / 0.5644 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.343, allocations: 7.938 kB / 0.5644 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.343, allocations: 0 / 0.5644 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.99e-05/0.343, allocations: 7.938 kB / 0.5644 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/0.3432, allocations: 145.7 kB / 0.5645 GB, free: 1.441 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.385e-05/0.3432, allocations: 18.61 kB / 0.5646 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.514e-05/0.3432, allocations: 4.859 kB / 0.5646 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.3433, allocations: 0 / 0.5646 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.944e-05/0.3433, allocations: 64.23 kB / 0.5646 GB, free: 1.328 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.3433, allocations: 4.062 kB / 0.5646 GB, free: 1.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001612/0.3435, allocations: 71.28 kB / 0.5647 GB, free: 1.242 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.3435, allocations: 81.11 kB / 0.5648 GB, free: 1.145 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.813e-05/0.3436, allocations: 93.81 kB / 0.5649 GB, free: 1.043 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.3436, allocations: 25.7 kB / 0.5649 GB, free: 1.012 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.258e-05/0.3436, allocations: 80.14 kB / 0.565 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.3436, allocations: 0 / 0.565 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.3437, allocations: 17.7 kB / 0.565 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3438, allocations: 315 kB / 0.5653 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.947e-06/0.3438, allocations: 4 kB / 0.5653 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.639e-06/0.3438, allocations: 0 / 0.5653 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.239e-05/0.3439, allocations: 60.27 kB / 0.5653 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3439, allocations: 0 / 0.5653 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.044e-05/0.344, allocations: 67.33 kB / 0.5654 GB, free: 444 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.344, allocations: 29.7 kB / 0.5654 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.344, allocations: 0 / 0.5654 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.344, allocations: 3.938 kB / 0.5654 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.344, allocations: 4.094 kB / 0.5654 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.344, allocations: 4 kB / 0.5655 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.409e-05/0.344, allocations: 0 / 0.5655 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.344, allocations: 0 / 0.5655 GB, free: 396 kB / 398.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.0001051/0.3441, allocations: 143.5 kB / 0.5656 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-06/0.3441, allocations: 3.938 kB / 0.5656 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.181e-05/0.3442, allocations: 7.109 kB / 0.5656 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3442, allocations: 3.938 kB / 0.5656 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.3442, allocations: 0 / 0.5656 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.154e-05/0.3442, allocations: 85.09 kB / 0.5657 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.3442, allocations: 4 kB / 0.5657 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.674e-06/0.3442, allocations: 0 / 0.5657 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.485e-05/0.3442, allocations: 0 / 0.5657 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001613/0.3444, allocations: 198 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001738/0.3446, allocations: 244.5 kB / 0.5661 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.496e-05/0.3446, allocations: 4.062 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.076e-05/0.3446, allocations: 75.28 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of Backend: time 3.51e-07/0.3446, allocations: 0 / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007344/0.3454, allocations: 264.8 kB / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of SimCode: time 0.0004234/0.3458, allocations: 0.5834 MB / 0.567 GB, free: 14.64 MB / 414.1 MB Notification: Performance of Templates: time 0.005069/0.3509, allocations: 1.954 MB / 0.5689 GB, free: 12.69 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 4.8952136668376625]