Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001987/0.001987, allocations: 169.3 kB / 24.28 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.567/1.567, allocations: 177.1 MB / 204.6 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3469/0.3469, allocations: 34.26 MB / 295.3 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 377.3 MB, free: 3.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.787e-05, allocations: 2.312 kB / 377.3 MB, free: 3.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001561/0.001589, allocations: 0.4964 MB / 377.8 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003705/0.005294, allocations: 2.098 MB / 379.8 MB, free: 396 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.095e-05/0.005315, allocations: 4 kB / 379.9 MB, free: 392 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.134e-05/0.005326, allocations: 7.938 kB / 379.9 MB, free: 384 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.002e-06/0.005332, allocations: 0 / 379.9 MB, free: 384 kB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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.002244/0.007576, allocations: 0.7557 MB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.678e-05/0.007623, allocations: 4 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.877e-05/0.007652, allocations: 0 / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.447e-05/0.007686, allocations: 4 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.724e-05/0.007703, allocations: 0 / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.382e-06/0.00771, allocations: 0 / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002701/0.01041, allocations: 1.556 MB / 382.2 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.548e-06/0.01042, allocations: 0 / 382.2 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.737e-05/0.01045, allocations: 7.984 kB / 382.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002522/0.01297, allocations: 1.859 MB / 384 MB, free: 12.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.01297, allocations: 0 / 384 MB, free: 12.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.01297, allocations: 0 / 384 MB, free: 12.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.01298, allocations: 0 / 384 MB, free: 12.18 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.0007354/0.01372, allocations: 477.2 kB / 384.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.01375, allocations: 8.031 kB / 384.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.01379, allocations: 0.9375 kB / 384.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.437e-05/0.01389, allocations: 104.6 kB / 384.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.0139, allocations: 4.375 kB / 384.6 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.284e-06/0.01391, allocations: 384 / 384.6 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.01402, allocations: 59.97 kB / 384.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.01403, allocations: 3.938 kB / 384.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.01403, allocations: 0 / 384.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.01404, allocations: 0 / 384.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.742e-05/0.01408, allocations: 33.64 kB / 384.7 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000149/0.01422, allocations: 112.6 kB / 384.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.023e-05/0.0143, allocations: 48.86 kB / 384.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.315e-05/0.01435, allocations: 45.38 kB / 384.9 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.337e-06/0.01436, allocations: 0 / 384.9 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.114e-05/0.01442, allocations: 59.09 kB / 385 MB, free: 11.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.01442, allocations: 4 kB / 385 MB, free: 11.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002536/0.01467, allocations: 122.7 kB / 385.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/0.01474, allocations: 77.11 kB / 385.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.01484, allocations: 146.2 kB / 385.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.01486, allocations: 29.83 kB / 385.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.345e-05/0.01494, allocations: 126.9 kB / 385.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.01496, allocations: 4 kB / 385.5 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.015, allocations: 15.38 kB / 385.5 MB, free: 10.49 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004227/0.01542, allocations: 496.1 kB / 386 MB, free: 9.992 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.622e-05/0.01545, allocations: 29.7 kB / 386 MB, free: 9.957 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.539e-05/0.01548, allocations: 25.7 kB / 386 MB, free: 9.926 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.996e-05/0.01555, allocations: 67.09 kB / 386.1 MB, free: 9.844 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01555, allocations: 3.938 kB / 386.1 MB, free: 9.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001101/0.01566, allocations: 101.1 kB / 386.2 MB, free: 9.723 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.199e-05/0.0157, allocations: 29.7 kB / 386.2 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.01571, allocations: 0 / 386.2 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.01573, allocations: 7.938 kB / 386.2 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.61e-07/0.01573, allocations: 0 / 386.2 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.01573, allocations: 0 / 386.2 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.82e-05/0.01575, allocations: 3.953 kB / 386.2 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.01576, allocations: 0 / 386.2 MB, free: 9.676 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.0001431/0.0159, allocations: 190.3 kB / 386.4 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.106e-06/0.01591, allocations: 0 / 386.4 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.031e-05/0.01592, allocations: 7.031 kB / 386.4 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.01593, allocations: 7.938 kB / 386.4 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.01593, allocations: 0 / 386.4 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01593, allocations: 0 / 386.4 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.01605, allocations: 108.6 kB / 386.6 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.01605, allocations: 0 / 386.6 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-07/0.01605, allocations: 0 / 386.6 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.01606, allocations: 4 kB / 386.6 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.01607, allocations: 0 / 386.6 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.01607, allocations: 3.984 kB / 386.6 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.01607, allocations: 3.938 kB / 386.6 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.01624, allocations: 131.8 kB / 386.7 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.918e-06/0.01625, allocations: 3.984 kB / 386.7 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.01627, allocations: 4 kB / 386.7 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.335e-06/0.01627, allocations: 0 / 386.7 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/0.0163, allocations: 3.938 kB / 386.7 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.0163, allocations: 0 / 386.7 MB, free: 9.133 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.952e-05/0.01637, allocations: 127.2 kB / 386.8 MB, free: 9.008 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01637, allocations: 0 / 386.8 MB, free: 9.008 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001306/0.01767, allocations: 287.6 kB / 387.1 MB, free: 8.727 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.00175/0.01942, allocations: 0.5254 MB / 387.6 MB, free: 8.211 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001804/0.0196, allocations: 126.4 kB / 387.8 MB, free: 8.059 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01961, allocations: 4 kB / 387.8 MB, free: 8.055 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.422e-05/0.01968, allocations: 92.78 kB / 387.9 MB, free: 7.941 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001248/0.0198, allocations: 2.344 kB / 387.9 MB, free: 7.941 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002722/0.02008, allocations: 113.6 kB / 388 MB, free: 7.793 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.608e-05/0.02013, allocations: 55.36 kB / 388 MB, free: 7.719 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.981e-06/0.02014, allocations: 0 / 388 MB, free: 7.719 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.553e-05/0.02015, allocations: 8.5 kB / 388 MB, free: 7.711 MB / 362.7 MB Notification: Performance of SimCode: time 5.82e-07/0.02016, allocations: 128 / 388 MB, free: 7.711 MB / 362.7 MB Notification: Performance of Templates: time 0.01532/0.03547, allocations: 7.535 MB / 395.6 MB, free: 172 kB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.2707080820109695]