Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.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.0008257/0.0008257, 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.004295/0.004295, allocations: 156.7 kB / 24.7 MB, free: 9.418 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.8957/0.8957, 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.2335/0.2335, allocations: 34.24 MB / 295.6 MB, free: 0.668 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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 443.4 MB, free: 1.074 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.259e-05/2.432e-05, allocations: 6.219 kB / 443.4 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.0009461/0.0009704, allocations: 0.4931 MB / 443.9 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1762/0.1772, allocations: 2.07 MB / 446 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.968e-05/0.1772, allocations: 0 / 446 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.602e-05/0.1772, allocations: 0 / 446 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.943e-06/0.1772, allocations: 4.625 kB / 446 MB, free: 43.33 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.1785, allocations: 0.763 MB / 446.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.008e-05/0.1786, allocations: 0 / 446.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.502e-05/0.1786, allocations: 3.062 kB / 446.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.469e-05/0.1786, allocations: 0 / 446.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.896e-05/0.1786, allocations: 0 / 446.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.682e-06/0.1786, allocations: 0.6562 kB / 446.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.1798, allocations: 1.563 MB / 448.3 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.247e-06/0.1798, allocations: 0 / 448.3 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/0.1799, allocations: 0 / 448.3 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.181, allocations: 1.86 MB / 450.2 MB, free: 42.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1811, allocations: 0 / 450.2 MB, free: 42.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.1811, allocations: 0 / 450.2 MB, free: 42.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1811, allocations: 0 / 450.2 MB, free: 42.51 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.000468/0.1815, allocations: 357.8 kB / 450.5 MB, free: 42.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.1816, allocations: 8.375 kB / 450.5 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.1816, allocations: 0.9375 kB / 450.5 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.817e-05/0.1817, allocations: 110.5 kB / 450.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1817, allocations: 4.375 kB / 450.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.1817, allocations: 7.406 kB / 450.6 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.732e-05/0.1818, allocations: 51.97 kB / 450.7 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1818, allocations: 3.812 kB / 450.7 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.1818, allocations: 384 / 450.7 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1818, allocations: 3.938 kB / 450.7 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.891e-05/0.1818, allocations: 29.7 kB / 450.7 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.944e-05/0.1819, allocations: 99.48 kB / 450.8 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.492e-05/0.1819, allocations: 47.28 kB / 450.9 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.33e-05/0.1819, allocations: 34.5 kB / 450.9 MB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.104e-06/0.1819, allocations: 6.906 kB / 450.9 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.1819, allocations: 60.27 kB / 451 MB, free: 41.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 4.61e-07/0.1819, allocations: 1.312 kB / 451 MB, free: 41.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001561/0.1821, allocations: 119 kB / 451.1 MB, free: 41.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.1821, allocations: 84.38 kB / 451.2 MB, free: 41.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.805e-05/0.1821, allocations: 89.86 kB / 451.2 MB, free: 41.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.258e-06/0.1821, allocations: 28.55 kB / 451.3 MB, free: 41.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.793e-06/0.1822, allocations: 80.14 kB / 451.4 MB, free: 41.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.1822, allocations: 7.266 kB / 451.4 MB, free: 41.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/0.1822, allocations: 12.66 kB / 451.4 MB, free: 41.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.047e-05/0.1822, allocations: 315 kB / 451.7 MB, free: 40.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.042e-05/0.1822, allocations: 28.55 kB / 451.7 MB, free: 40.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.143e-06/0.1822, allocations: 29.64 kB / 451.7 MB, free: 40.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.587e-05/0.1823, allocations: 66.52 kB / 451.8 MB, free: 40.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1823, allocations: 0 / 451.8 MB, free: 40.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.085e-05/0.1823, allocations: 85.58 kB / 451.9 MB, free: 40.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.1823, allocations: 36.39 kB / 451.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1823, allocations: 0 / 451.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1823, allocations: 0 / 451.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.1823, allocations: 96 / 451.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1823, allocations: 14.83 kB / 451.9 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.264e-05/0.1824, allocations: 0 / 451.9 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.1824, allocations: 0 / 451.9 MB, free: 40.59 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 3.724e-05/0.1824, allocations: 134.4 kB / 452.1 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-06/0.1824, allocations: 7.938 kB / 452.1 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.107e-06/0.1824, allocations: 6.234 kB / 452.1 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1824, allocations: 2.875 kB / 452.1 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1824, allocations: 0 / 452.1 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1824, allocations: 3.938 kB / 452.1 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.115e-05/0.1825, allocations: 100.2 kB / 452.2 MB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.6e-07/0.1825, allocations: 4 kB / 452.2 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.4e-07/0.1825, allocations: 0 / 452.2 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-07/0.1825, allocations: 0 / 452.2 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.1825, allocations: 4.5 kB / 452.2 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.1825, allocations: 3.422 kB / 452.2 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1825, allocations: 6.531 kB / 452.2 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.211e-05/0.1825, allocations: 119.3 kB / 452.3 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.266e-06/0.1825, allocations: 2.5 kB / 452.3 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.157e-06/0.1825, allocations: 0 / 452.3 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.669e-06/0.1825, allocations: 6.969 kB / 452.3 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.165e-05/0.1825, allocations: 4.031 kB / 452.3 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-06/0.1825, allocations: 0 / 452.3 MB, free: 40.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.546e-06/0.1825, allocations: 79.22 kB / 452.4 MB, free: 40.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1825, allocations: 3.938 kB / 452.4 MB, free: 40.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004593/0.183, allocations: 293.6 kB / 452.7 MB, free: 40.05 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.0008704/0.1839, allocations: 0.5146 MB / 453.2 MB, free: 39.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.945e-05/0.184, allocations: 114.3 kB / 453.3 MB, free: 39.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.184, allocations: 0 / 453.3 MB, free: 39.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.407e-05/0.184, allocations: 79.83 kB / 453.4 MB, free: 39.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.345e-05/0.1841, allocations: 10.81 kB / 453.4 MB, free: 39.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001607/0.1842, allocations: 127.8 kB / 453.5 MB, free: 39.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.486e-05/0.1843, allocations: 54.3 kB / 453.6 MB, free: 39.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.189e-05/0.1843, allocations: 8.5 kB / 453.6 MB, free: 39.45 MB / 410.7 MB Notification: Performance of SimCode: time 4e-07/0.1843, allocations: 0 / 453.6 MB, free: 39.45 MB / 410.7 MB Notification: Performance of Templates: time 0.005674/0.1899, allocations: 6.707 MB / 460.3 MB, free: 38.92 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.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: 9.939104668796062]