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.001404/0.001404, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001568/0.001568, allocations: 213.9 kB / 24.48 MB, free: 3.836 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.461/1.461, allocations: 230.5 MB / 258.1 MB, free: 7.789 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.2305/0.2305, allocations: 46.94 MB / 361.5 MB, free: 3.938 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.002405/0.002405, allocations: 87.8 kB / 0.4974 GB, free: 7.066 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3467, allocations: 66.09 MB / 0.5619 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001842/0.3486, allocations: 489.1 kB / 0.5624 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.3501, allocations: 0.7198 MB / 0.5631 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.003e-05/0.3502, allocations: 4 kB / 0.5631 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.349e-05/0.3502, allocations: 0 / 0.5631 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.63e-06/0.3502, allocations: 0 / 0.5631 GB, free: 2.77 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.002017/0.3522, allocations: 0.649 MB / 0.5637 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.515e-05/0.3523, allocations: 4 kB / 0.5637 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.668e-05/0.3523, allocations: 3.984 kB / 0.5637 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.532e-05/0.3523, allocations: 0 / 0.5637 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.794e-05/0.3523, allocations: 0 / 0.5637 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.162e-06/0.3523, allocations: 0 / 0.5637 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008825/0.3532, allocations: 403.2 kB / 0.5641 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.3532, allocations: 3.984 kB / 0.5641 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.949e-05/0.3533, allocations: 0 / 0.5641 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006217/0.3539, allocations: 345.6 kB / 0.5644 GB, free: 1.383 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3539, allocations: 4 kB / 0.5644 GB, free: 1.379 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3539, allocations: 0 / 0.5644 GB, free: 1.379 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.3539, allocations: 0 / 0.5644 GB, free: 1.379 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.0004747/0.3544, allocations: 319.6 kB / 0.5647 GB, free: 1.027 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3544, allocations: 8.031 kB / 0.5647 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/0.3544, allocations: 0.9375 kB / 0.5647 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.664e-05/0.3545, allocations: 107.6 kB / 0.5648 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.3546, allocations: 384 / 0.5648 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.3546, allocations: 384 / 0.5648 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.3547, allocations: 63.89 kB / 0.5649 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.3547, allocations: 4.188 kB / 0.5649 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.3547, allocations: 3.938 kB / 0.5649 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.3547, allocations: 3.938 kB / 0.5649 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.168e-05/0.3547, allocations: 29.64 kB / 0.565 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000127/0.3549, allocations: 105.3 kB / 0.5651 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.811e-05/0.3549, allocations: 40.28 kB / 0.5651 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.936e-05/0.355, allocations: 34.66 kB / 0.5651 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.355, allocations: 3.984 kB / 0.5651 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.437e-05/0.355, allocations: 60.2 kB / 0.5652 GB, free: 472 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.355, allocations: 0 / 0.5652 GB, free: 472 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002004/0.3552, allocations: 122.8 kB / 0.5653 GB, free: 324 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.3553, allocations: 85.09 kB / 0.5654 GB, free: 220 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.015e-05/0.3553, allocations: 93.81 kB / 0.5655 GB, free: 116 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.3553, allocations: 25.7 kB / 0.5655 GB, free: 84 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.3554, allocations: 80.14 kB / 0.5656 GB, free: 0 / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.144e-05/0.3554, allocations: 96 / 0.5656 GB, free: 16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.3555, allocations: 13.72 kB / 0.5656 GB, free: 15.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3556, allocations: 318.8 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.458e-05/0.3556, allocations: 25.7 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.107e-05/0.3557, allocations: 29.7 kB / 0.5659 GB, free: 15.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.945e-05/0.3557, allocations: 72.28 kB / 0.566 GB, free: 15.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3557, allocations: 0 / 0.566 GB, free: 15.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.243e-05/0.3558, allocations: 85.11 kB / 0.5661 GB, free: 15.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.151e-05/0.3559, allocations: 33.7 kB / 0.5661 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3559, allocations: 0 / 0.5661 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3559, allocations: 0 / 0.5661 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.035e-06/0.3559, allocations: 3.938 kB / 0.5661 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.3559, allocations: 3.984 kB / 0.5661 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.469e-05/0.3559, allocations: 0 / 0.5661 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.3559, allocations: 4 kB / 0.5661 GB, free: 15.36 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.0001084/0.356, allocations: 139.6 kB / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.039e-05/0.356, allocations: 4 kB / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.078e-05/0.356, allocations: 3 kB / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.356, allocations: 3.938 kB / 0.5663 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.356, allocations: 0 / 0.5663 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.356, allocations: 0 / 0.5663 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.172e-05/0.3561, allocations: 97.31 kB / 0.5664 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3561, allocations: 7.938 kB / 0.5664 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.3561, allocations: 0 / 0.5664 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3561, allocations: 3.938 kB / 0.5664 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.3561, allocations: 4 kB / 0.5664 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3562, allocations: 0 / 0.5664 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.3562, allocations: 3.938 kB / 0.5664 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.3563, allocations: 120.5 kB / 0.5665 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-06/0.3563, allocations: 3.938 kB / 0.5665 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.3563, allocations: 4 kB / 0.5665 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.289e-05/0.3563, allocations: 3.984 kB / 0.5665 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.883e-05/0.3563, allocations: 3.938 kB / 0.5665 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.85e-06/0.3563, allocations: 4 kB / 0.5665 GB, free: 14.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.605e-05/0.3564, allocations: 75.28 kB / 0.5666 GB, free: 14.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3564, allocations: 4.031 kB / 0.5666 GB, free: 14.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003605/0.3568, allocations: 83.73 kB / 0.5667 GB, free: 14.72 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.0005812/0.3573, allocations: 220.4 kB / 0.5669 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001629/0.3575, allocations: 118.8 kB / 0.567 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3575, allocations: 0 / 0.567 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.372e-05/0.3576, allocations: 81.11 kB / 0.5671 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.3577, allocations: 3.984 kB / 0.5671 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002617/0.358, allocations: 136.6 kB / 0.5672 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.771e-05/0.358, allocations: 55.36 kB / 0.5673 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.713e-05/0.358, allocations: 7.438 kB / 0.5673 GB, free: 14 MB / 414.1 MB Notification: Performance of SimCode: time 4.6e-07/0.358, allocations: 0 / 0.5673 GB, free: 14 MB / 414.1 MB Notification: Performance of Templates: time 0.004585/0.3626, allocations: 1.79 MB / 0.569 GB, free: 12.21 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/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_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: 8.858927933964878]