Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.002172/0.002172, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.002677/0.002677, allocations: 213.5 kB / 23 MB, free: 5.605 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.505/1.505, allocations: 230.2 MB / 256.2 MB, free: 8.551 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2408/0.2408, allocations: 46.91 MB / 359.4 MB, free: 4.863 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestVectors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002325/0.002325, allocations: 80.14 kB / 0.4946 GB, free: 8.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3158, allocations: 65.99 MB / 0.5591 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001624/0.3174, allocations: 496.9 kB / 0.5595 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.3188, allocations: 0.782 MB / 0.5603 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.481e-05/0.3188, allocations: 0 / 0.5603 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.611e-05/0.3188, allocations: 0 / 0.5603 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.271e-06/0.3188, allocations: 0 / 0.5603 GB, free: 3.805 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.001682/0.3205, allocations: 0.6644 MB / 0.5609 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.616e-05/0.3206, allocations: 8 kB / 0.561 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.259e-05/0.3206, allocations: 0 / 0.561 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.289e-05/0.3206, allocations: 0 / 0.561 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.297e-05/0.3206, allocations: 0 / 0.561 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.769e-06/0.3206, allocations: 0 / 0.561 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006669/0.3213, allocations: 415.2 kB / 0.5614 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.222e-06/0.3213, allocations: 0 / 0.5614 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.847e-05/0.3213, allocations: 3.984 kB / 0.5614 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004539/0.3218, allocations: 345.6 kB / 0.5617 GB, free: 2.391 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3218, allocations: 4 kB / 0.5617 GB, free: 2.387 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.3218, allocations: 3.984 kB / 0.5617 GB, free: 2.383 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.3218, allocations: 0 / 0.5617 GB, free: 2.383 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.000494/0.3223, allocations: 395.4 kB / 0.5621 GB, free: 1.941 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.3223, allocations: 8.031 kB / 0.5621 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.83e-05/0.3223, allocations: 0.9375 kB / 0.5621 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.3225, allocations: 165.4 kB / 0.5622 GB, free: 1.734 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.3225, allocations: 4.375 kB / 0.5622 GB, free: 1.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.3225, allocations: 384 / 0.5622 GB, free: 1.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.3226, allocations: 34.25 kB / 0.5623 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3226, allocations: 4.125 kB / 0.5623 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.3226, allocations: 7.938 kB / 0.5623 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3226, allocations: 0 / 0.5623 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.555e-05/0.3226, allocations: 0 / 0.5623 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001623/0.3228, allocations: 145.7 kB / 0.5624 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.614e-05/0.3228, allocations: 26.48 kB / 0.5624 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.844e-05/0.3229, allocations: 16.84 kB / 0.5625 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.128e-06/0.3229, allocations: 0 / 0.5625 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.43e-05/0.3229, allocations: 56.27 kB / 0.5625 GB, free: 1.363 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.3229, allocations: 64 / 0.5625 GB, free: 1.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001966/0.3231, allocations: 63.34 kB / 0.5626 GB, free: 1.289 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.081e-05/0.3232, allocations: 89.03 kB / 0.5627 GB, free: 1.184 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.569e-05/0.3232, allocations: 93.81 kB / 0.5628 GB, free: 1.082 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.3233, allocations: 29.7 kB / 0.5628 GB, free: 1.047 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.906e-05/0.3233, allocations: 84.27 kB / 0.5629 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.3233, allocations: 0 / 0.5629 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.3234, allocations: 13.72 kB / 0.5629 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3235, allocations: 310.8 kB / 0.5632 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.048e-05/0.3235, allocations: 0 / 0.5632 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.049e-06/0.3235, allocations: 0 / 0.5632 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.196e-05/0.3236, allocations: 60.27 kB / 0.5632 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3236, allocations: 4.062 kB / 0.5632 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.291e-05/0.3236, allocations: 67.39 kB / 0.5633 GB, free: 484 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/0.3237, allocations: 33.64 kB / 0.5633 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3237, allocations: 0 / 0.5633 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.3237, allocations: 3.938 kB / 0.5633 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/0.3237, allocations: 0 / 0.5633 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3237, allocations: 4 kB / 0.5633 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.58e-05/0.3237, allocations: 0 / 0.5633 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.3237, allocations: 0 / 0.5633 GB, free: 436 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 9.943e-05/0.3238, allocations: 143.6 kB / 0.5635 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-06/0.3238, allocations: 0 / 0.5635 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.111e-05/0.3239, allocations: 7.062 kB / 0.5635 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.3239, allocations: 0 / 0.5635 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.3239, allocations: 0 / 0.5635 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3239, allocations: 0 / 0.5635 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.324, allocations: 157.7 kB / 0.5636 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.324, allocations: 0 / 0.5636 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.324, allocations: 0 / 0.5636 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.324, allocations: 0 / 0.5636 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.324, allocations: 3.938 kB / 0.5636 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.324, allocations: 7.938 kB / 0.5636 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.324, allocations: 3.938 kB / 0.5636 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.3241, allocations: 102.8 kB / 0.5637 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.503e-05/0.3242, allocations: 77.11 kB / 0.5638 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.3242, allocations: 3.938 kB / 0.5638 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.195e-05/0.3242, allocations: 4 kB / 0.5638 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.793e-05/0.3242, allocations: 0 / 0.5638 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.3242, allocations: 8.031 kB / 0.5638 GB, free: 15.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.389e-05/0.3243, allocations: 75.28 kB / 0.5639 GB, free: 15.74 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3243, allocations: 0 / 0.5639 GB, free: 15.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003911/0.3247, allocations: 83.73 kB / 0.564 GB, free: 15.66 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.0005517/0.3252, allocations: 217.1 kB / 0.5642 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001099/0.3253, allocations: 63.39 kB / 0.5643 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3253, allocations: 64 / 0.5643 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.779e-05/0.3254, allocations: 59.41 kB / 0.5643 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.3255, allocations: 4 kB / 0.5643 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000205/0.3257, allocations: 89 kB / 0.5644 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.3261, allocations: 0.6729 MB / 0.5651 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.57e-06/0.3261, allocations: 0 / 0.5651 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.176e-05/0.3261, allocations: 7.438 kB / 0.5651 GB, free: 14.47 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3261, allocations: 0 / 0.5651 GB, free: 14.47 MB / 414.1 MB Notification: Performance of Templates: time 0.005281/0.3314, allocations: 1.936 MB / 0.567 GB, free: 12.54 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.078421636484563]