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.001918/0.001918, allocations: 96.25 kB / 20.96 MB, free: 3.465 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.002287/0.002287, allocations: 160.9 kB / 24.27 MB, free: 164 kB / 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 1.6/1.6, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 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.346/0.346, allocations: 34.24 MB / 295.2 MB, free: 0.6719 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.593e-06/1.593e-06, allocations: 0 / 377.2 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.113e-05/3.272e-05, allocations: 6.25 kB / 377.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001506/0.001539, allocations: 497 kB / 377.7 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002519/0.004057, allocations: 1.534 MB / 379.2 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.78e-05/0.004075, allocations: 0 / 379.2 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.2e-05/0.004087, allocations: 0 / 379.2 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.619e-06/0.004092, allocations: 0 / 379.2 MB, free: 0.8945 MB / 346.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.0009632/0.005055, allocations: 255.2 kB / 379.5 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.613e-05/0.005091, allocations: 0 / 379.5 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.817e-05/0.005129, allocations: 12 kB / 379.5 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.346e-05/0.005153, allocations: 0 / 379.5 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.76e-05/0.00517, allocations: 3.984 kB / 379.5 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.502e-06/0.005177, allocations: 0 / 379.5 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.006329, allocations: 0.6829 MB / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.662e-06/0.006336, allocations: 0 / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.095e-05/0.006357, allocations: 0 / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.007369, allocations: 0.7525 MB / 380.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.103e-06/0.007371, allocations: 0 / 380.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.007372, allocations: 0 / 380.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.586e-06/0.007375, allocations: 0 / 380.9 MB, free: 15.19 MB / 362.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.0004509/0.007826, allocations: 291.9 kB / 381.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.007863, allocations: 11.97 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.007904, allocations: 4.938 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.497e-05/0.007999, allocations: 105.8 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.008011, allocations: 384 / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.582e-06/0.008017, allocations: 384 / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.899e-05/0.008116, allocations: 55.97 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.008123, allocations: 192 / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.00813, allocations: 384 / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.008138, allocations: 7.875 kB / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.212e-05/0.00819, allocations: 29.7 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001228/0.008312, allocations: 101.3 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.984e-05/0.008382, allocations: 48.3 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.354e-05/0.008416, allocations: 30.56 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-06/0.008423, allocations: 0 / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.008598, allocations: 60.33 kB / 381.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.008598, allocations: 0 / 381.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002207/0.008819, allocations: 122.7 kB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.008888, allocations: 81.05 kB / 381.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.764e-05/0.008945, allocations: 89.86 kB / 381.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.008963, allocations: 29.83 kB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.276e-05/0.009016, allocations: 84.14 kB / 382 MB, free: 13.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.311e-05/0.009029, allocations: 0 / 382 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.009057, allocations: 9.719 kB / 382 MB, free: 13.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.00925, allocations: 318.8 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.907e-05/0.009279, allocations: 29.69 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.345e-05/0.009302, allocations: 25.7 kB / 382.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.126e-05/0.009373, allocations: 68.2 kB / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.009375, allocations: 0 / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001045/0.00948, allocations: 93.19 kB / 382.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.628e-05/0.009516, allocations: 33.7 kB / 382.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.009519, allocations: 0 / 382.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.009533, allocations: 4 kB / 382.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.009534, allocations: 0 / 382.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.009541, allocations: 3.938 kB / 382.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.257e-05/0.009553, allocations: 0 / 382.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.009558, allocations: 0 / 382.6 MB, free: 13.21 MB / 362.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 0.0001094/0.009667, allocations: 139.5 kB / 382.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.084e-05/0.009678, allocations: 3.953 kB / 382.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.929e-06/0.009688, allocations: 6.984 kB / 382.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.009692, allocations: 8 kB / 382.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.009695, allocations: 0 / 382.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.0097, allocations: 3.938 kB / 382.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.827e-05/0.009788, allocations: 93.33 kB / 382.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.009789, allocations: 0 / 382.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.00979, allocations: 0 / 382.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.009795, allocations: 7.938 kB / 382.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.009803, allocations: 4 kB / 382.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.009804, allocations: 0 / 382.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.009804, allocations: 0 / 382.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.009939, allocations: 120.5 kB / 383 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.632e-05/0.009955, allocations: 4 kB / 383 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.009971, allocations: 4 kB / 383 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.537e-06/0.009979, allocations: 0 / 383 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.984e-05/0.009999, allocations: 7.969 kB / 383 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.01, allocations: 0 / 383 MB, free: 12.74 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.534e-05/0.01005, allocations: 79.22 kB / 383.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01005, allocations: 0 / 383.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004256/0.01047, allocations: 123.8 kB / 383.2 MB, free: 12.54 MB / 362.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.0007644/0.01124, allocations: 183 kB / 383.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001362/0.01137, allocations: 110.8 kB / 383.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.01138, allocations: 4 kB / 383.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.339e-05/0.01144, allocations: 81.16 kB / 383.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.01157, allocations: 14.88 kB / 383.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002147/0.01178, allocations: 104 kB / 383.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.518e-05/0.01184, allocations: 55.36 kB / 383.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.408e-06/0.01184, allocations: 0 / 383.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.232e-05/0.01188, allocations: 16.42 kB / 383.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01188, allocations: 0 / 383.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of Templates: time 0.008425/0.0203, allocations: 3.99 MB / 387.8 MB, free: 7.891 MB / 362.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] [Calling os._exit(0), Time elapsed: 4.963259496027604]