Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.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.0008277/0.0008277, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004645/0.004645, allocations: 159.7 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8753/0.8753, allocations: 177 MB / 204.9 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.2483/0.2483, allocations: 34.25 MB / 295.6 MB, free: 0.6797 MB / 266.7 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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 443.4 MB, free: 1.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.312e-05, allocations: 2.281 kB / 443.4 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.000943/0.0009661, allocations: 497 kB / 443.9 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1709/0.1718, allocations: 1.514 MB / 445.4 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.081e-05/0.1719, allocations: 4.594 kB / 445.4 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.693e-05/0.1719, allocations: 0 / 445.4 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.312e-06/0.1719, allocations: 0 / 445.4 MB, free: 43.57 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0007385/0.1726, allocations: 262.8 kB / 445.7 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.116e-05/0.1727, allocations: 6.172 kB / 445.7 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.478e-05/0.1727, allocations: 0 / 445.7 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.472e-05/0.1727, allocations: 0 / 445.7 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.728e-05/0.1728, allocations: 3.984 kB / 445.7 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.061e-06/0.1728, allocations: 3 kB / 445.7 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005453/0.1733, allocations: 0.6835 MB / 446.4 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.064e-05/0.1733, allocations: 0.7188 kB / 446.4 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.048e-05/0.1733, allocations: 0 / 446.4 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005049/0.1738, allocations: 0.7492 MB / 447.1 MB, free: 43.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1739, allocations: 0 / 447.1 MB, free: 43.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1739, allocations: 0 / 447.1 MB, free: 43.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.1739, allocations: 0 / 447.1 MB, free: 43.36 MB / 410.7 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.0002794/0.1741, allocations: 285.9 kB / 447.4 MB, free: 43.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1742, allocations: 10.91 kB / 447.4 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.1742, allocations: 4.688 kB / 447.4 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.006e-05/0.1742, allocations: 109.5 kB / 447.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.1743, allocations: 384 / 447.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.1743, allocations: 384 / 447.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.492e-05/0.1743, allocations: 55.56 kB / 447.6 MB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.1743, allocations: 2.625 kB / 447.6 MB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.1744, allocations: 384 / 447.6 MB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.1744, allocations: 6.469 kB / 447.6 MB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.772e-05/0.1744, allocations: 37.06 kB / 447.6 MB, free: 42.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.6e-05/0.1744, allocations: 95.86 kB / 447.7 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.234e-05/0.1745, allocations: 43.78 kB / 447.7 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.338e-05/0.1745, allocations: 30.56 kB / 447.8 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-06/0.1745, allocations: 3.562 kB / 447.8 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.1745, allocations: 59.5 kB / 447.8 MB, free: 42.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 5.61e-07/0.1745, allocations: 1.625 kB / 447.8 MB, free: 42.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.000136/0.1747, allocations: 118.9 kB / 448 MB, free: 42.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.1747, allocations: 87.19 kB / 448 MB, free: 42.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.508e-05/0.1747, allocations: 93.42 kB / 448.1 MB, free: 42.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.358e-06/0.1747, allocations: 25.7 kB / 448.2 MB, free: 42.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.781e-06/0.1747, allocations: 81.27 kB / 448.2 MB, free: 42.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.466e-05/0.1747, allocations: 7.203 kB / 448.2 MB, free: 42.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.803e-05/0.1747, allocations: 16.66 kB / 448.3 MB, free: 42.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.424e-05/0.1748, allocations: 313.8 kB / 448.6 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.598e-06/0.1748, allocations: 25.7 kB / 448.6 MB, free: 41.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.134e-06/0.1748, allocations: 31.89 kB / 448.6 MB, free: 41.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.312e-05/0.1748, allocations: 63.14 kB / 448.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1748, allocations: 6.875 kB / 448.7 MB, free: 41.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.14e-05/0.1748, allocations: 89.97 kB / 448.8 MB, free: 41.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.1749, allocations: 31.48 kB / 448.8 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1749, allocations: 0 / 448.8 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.1749, allocations: 0 / 448.8 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.1749, allocations: 4.75 kB / 448.8 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.319e-06/0.1749, allocations: 3.938 kB / 448.8 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.263e-05/0.1749, allocations: 0 / 448.8 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.1749, allocations: 0 / 448.8 MB, free: 41.49 MB / 410.7 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 4.113e-05/0.1749, allocations: 139 kB / 449 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.017e-06/0.1749, allocations: 6.812 kB / 449 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.895e-06/0.1749, allocations: 7 kB / 449 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.1749, allocations: 0 / 449 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.175, allocations: 0 / 449 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.175, allocations: 3.938 kB / 449 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 2.787e-05/0.175, allocations: 96.39 kB / 449.1 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.175, allocations: 3.188 kB / 449.1 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.5e-07/0.175, allocations: 0 / 449.1 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.42e-07/0.175, allocations: 0 / 449.1 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.175, allocations: 2.781 kB / 449.1 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.175, allocations: 2.578 kB / 449.1 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.175, allocations: 6.344 kB / 449.1 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.223e-05/0.175, allocations: 123.5 kB / 449.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.995e-06/0.175, allocations: 0 / 449.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.867e-06/0.175, allocations: 9.625 kB / 449.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.508e-06/0.1751, allocations: 0 / 449.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.164e-05/0.1751, allocations: 0 / 449.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-06/0.1751, allocations: 0 / 449.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.336e-06/0.1751, allocations: 82 kB / 449.3 MB, free: 40.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1751, allocations: 0 / 449.3 MB, free: 40.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002428/0.1753, allocations: 121.7 kB / 449.4 MB, free: 40.98 MB / 410.7 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.0005121/0.1758, allocations: 186 kB / 449.6 MB, free: 40.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.772e-05/0.1759, allocations: 115.4 kB / 449.7 MB, free: 40.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1759, allocations: 4.062 kB / 449.7 MB, free: 40.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.324e-05/0.1759, allocations: 83.8 kB / 449.8 MB, free: 40.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.958e-05/0.176, allocations: 2.844 kB / 449.8 MB, free: 40.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001378/0.1761, allocations: 128.2 kB / 449.9 MB, free: 40.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.422e-05/0.1762, allocations: 54.2 kB / 450 MB, free: 40.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.106e-05/0.1762, allocations: 8.5 kB / 450 MB, free: 40.41 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.1762, allocations: 0 / 450 MB, free: 40.41 MB / 410.7 MB Notification: Performance of Templates: time 0.002736/0.1789, allocations: 2.717 MB / 452.7 MB, free: 40.29 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices3/TestMatrices3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.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.775175169110298]