Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.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.00102/0.00102, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001186/0.001186, allocations: 165 kB / 24.56 MB, free: 16 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 0.9902/0.9902, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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.2482/0.2482, allocations: 34.26 MB / 295.7 MB, free: 0.7578 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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.487e-05/3.668e-05, allocations: 9.969 kB / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001826/0.001863, allocations: 0.493 MB / 378.5 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.003605, allocations: 1.569 MB / 380.1 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.401e-05/0.003629, allocations: 0 / 380.1 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.693e-05/0.003656, allocations: 0 / 380.1 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.228e-06/0.003665, allocations: 8 kB / 380.1 MB, free: 0.5703 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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.0008683/0.004533, allocations: 251.2 kB / 380.3 MB, free: 332 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.523e-05/0.004589, allocations: 0 / 380.3 MB, free: 332 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.801e-05/0.004627, allocations: 0 / 380.3 MB, free: 332 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.46e-05/0.004661, allocations: 4 kB / 380.3 MB, free: 328 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.801e-05/0.004679, allocations: 0 / 380.3 MB, free: 328 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.644e-06/0.004687, allocations: 0 / 380.3 MB, free: 328 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007742/0.005461, allocations: 0.6946 MB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.807e-06/0.00547, allocations: 4 kB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.938e-05/0.005489, allocations: 0 / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00062/0.006109, allocations: 0.7447 MB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.006114, allocations: 0 / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.006115, allocations: 3.938 kB / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.00612, allocations: 0 / 381.8 MB, free: 14.87 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.0003955/0.006515, allocations: 393.8 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.006552, allocations: 8.031 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.006589, allocations: 0.9375 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.597e-05/0.006655, allocations: 108.6 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.006669, allocations: 384 / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.006678, allocations: 4.375 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.548e-05/0.006773, allocations: 59.95 kB / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.006781, allocations: 192 / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.006789, allocations: 384 / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/0.006798, allocations: 3.938 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.158e-05/0.00682, allocations: 29.7 kB / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.486e-05/0.006915, allocations: 112.6 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.843e-05/0.006973, allocations: 56.73 kB / 382.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.995e-05/0.006993, allocations: 41.36 kB / 382.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.167e-06/0.006997, allocations: 0 / 382.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.007033, allocations: 67.16 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 6.31e-07/0.007034, allocations: 0 / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001811/0.007215, allocations: 122.7 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.007258, allocations: 81.05 kB / 382.8 MB, free: 13.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.801e-05/0.007306, allocations: 142.2 kB / 383 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.007314, allocations: 25.7 kB / 383 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.868e-05/0.007343, allocations: 126.9 kB / 383.1 MB, free: 13.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.007362, allocations: 4.344 kB / 383.1 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/0.007385, allocations: 15.38 kB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.007513, allocations: 496.1 kB / 383.6 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.198e-05/0.007535, allocations: 33.83 kB / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.196e-05/0.007547, allocations: 25.7 kB / 383.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.983e-05/0.007587, allocations: 67.08 kB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.007589, allocations: 0 / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.233e-05/0.007652, allocations: 93 kB / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.007679, allocations: 37.69 kB / 383.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.007685, allocations: 0 / 383.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.007697, allocations: 0 / 383.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.538e-06/0.007702, allocations: 0 / 383.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.007707, allocations: 8.031 kB / 383.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.329e-05/0.007721, allocations: 4 kB / 383.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.007727, allocations: 3.938 kB / 383.9 MB, free: 12.44 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 7.233e-05/0.007799, allocations: 182.3 kB / 384.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-06/0.007803, allocations: 0 / 384.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.567e-06/0.007812, allocations: 3 kB / 384.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.007814, allocations: 0 / 384.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.007818, allocations: 0 / 384.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.007822, allocations: 7.938 kB / 384.1 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.983e-05/0.007882, allocations: 108.6 kB / 384.2 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.007883, allocations: 0 / 384.2 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.272e-06/0.007884, allocations: 8 kB / 384.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.007885, allocations: 0 / 384.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-06/0.007892, allocations: 0 / 384.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.007892, allocations: 4 kB / 384.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.007893, allocations: 0 / 384.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.096e-05/0.007974, allocations: 135.7 kB / 384.3 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-06/0.007978, allocations: 3.938 kB / 384.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.007991, allocations: 0 / 384.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.019e-06/0.007996, allocations: 4 kB / 384.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.243e-05/0.008008, allocations: 0 / 384.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.00801, allocations: 4.031 kB / 384.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.01e-05/0.00804, allocations: 123.1 kB / 384.5 MB, free: 11.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.00804, allocations: 0 / 384.5 MB, free: 11.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002996/0.00834, allocations: 123.9 kB / 384.6 MB, free: 11.66 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.0005077/0.008847, allocations: 193.8 kB / 384.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001025/0.00895, allocations: 122.5 kB / 384.9 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.008952, allocations: 0 / 384.9 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.056e-05/0.008982, allocations: 92.73 kB / 385 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.061e-05/0.009073, allocations: 3.984 kB / 385 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001741/0.009247, allocations: 113.7 kB / 385.1 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.986e-05/0.009277, allocations: 51.36 kB / 385.2 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.43e-06/0.009282, allocations: 8.062 kB / 385.2 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.547e-05/0.009298, allocations: 12.5 kB / 385.2 MB, free: 10.97 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.009299, allocations: 0 / 385.2 MB, free: 10.97 MB / 362.7 MB Notification: Performance of Templates: time 0.00608/0.01538, allocations: 4.432 MB / 389.6 MB, free: 6.527 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.3160309228114784]