Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.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.001155/0.001155, allocations: 75.77 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.0009714/0.0009714, allocations: 165 kB / 24.56 MB, free: 8 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.028/1.028, allocations: 177.1 MB / 205 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2644/0.2644, allocations: 32.8 MB / 294.3 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.879e-05, allocations: 6.25 kB / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001146/0.001174, allocations: 0.4969 MB / 376.5 MB, free: 4.168 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005307/0.006481, allocations: 4.681 MB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.797e-05/0.006499, allocations: 0 / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 2.121e-05/0.006521, allocations: 0 / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 6.593e-06/0.006527, allocations: 0 / 381.2 MB, free: 15.46 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:214:3-483:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.004937/0.01146, allocations: 3.275 MB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.985e-05/0.01151, allocations: 4 kB / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.45e-05/0.01155, allocations: 0 / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.637e-05/0.01157, allocations: 4 kB / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.775e-05/0.01159, allocations: 3.984 kB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.823e-06/0.0116, allocations: 0 / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01947/0.03107, allocations: 19.82 MB / 404.3 MB, free: 8.324 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.187e-05/0.03108, allocations: 0 / 404.3 MB, free: 8.324 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.866e-05/0.03111, allocations: 4 kB / 404.3 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03199/0.06309, allocations: 30.71 MB / 435 MB, free: 9.566 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.0631, allocations: 7.938 kB / 435 MB, free: 9.559 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.0631, allocations: 0 / 435 MB, free: 9.559 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.393e-06/0.06311, allocations: 0 / 435 MB, free: 9.559 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.006332/0.06944, allocations: 0.7016 MB / 435.7 MB, free: 8.812 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.06948, allocations: 8.031 kB / 435.7 MB, free: 8.805 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.416e-05/0.06951, allocations: 1.281 kB / 435.7 MB, free: 8.805 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.692e-05/0.06957, allocations: 116.2 kB / 435.8 MB, free: 8.664 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.06958, allocations: 4 kB / 435.8 MB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.06959, allocations: 0 / 435.8 MB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.451e-05/0.06966, allocations: 59.41 kB / 435.9 MB, free: 8.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.879e-06/0.06966, allocations: 0 / 435.9 MB, free: 8.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.06967, allocations: 0 / 435.9 MB, free: 8.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.06968, allocations: 0 / 435.9 MB, free: 8.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.631e-05/0.06969, allocations: 29.69 kB / 435.9 MB, free: 8.555 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.953e-05/0.06977, allocations: 120.5 kB / 436 MB, free: 8.402 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.183e-05/0.06981, allocations: 52.8 kB / 436.1 MB, free: 8.332 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.727e-05/0.06983, allocations: 33.39 kB / 436.1 MB, free: 8.289 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.727e-06/0.06984, allocations: 4 kB / 436.1 MB, free: 8.285 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.06987, allocations: 67.16 kB / 436.2 MB, free: 8.203 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 5.61e-07/0.06987, allocations: 0 / 436.2 MB, free: 8.203 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001418/0.07001, allocations: 122.7 kB / 436.3 MB, free: 8.059 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.07004, allocations: 77.11 kB / 436.4 MB, free: 7.965 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.586e-05/0.07007, allocations: 142.2 kB / 436.5 MB, free: 7.812 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.07008, allocations: 25.7 kB / 436.5 MB, free: 7.781 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.373e-05/0.07011, allocations: 126.9 kB / 436.7 MB, free: 7.652 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.07012, allocations: 8 kB / 436.7 MB, free: 7.645 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.036e-05/0.07014, allocations: 15.5 kB / 436.7 MB, free: 7.621 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.732e-05/0.07024, allocations: 496.1 kB / 437.2 MB, free: 7.125 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.775e-05/0.07026, allocations: 33.69 kB / 437.2 MB, free: 7.086 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.025e-05/0.07027, allocations: 25.7 kB / 437.2 MB, free: 7.055 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.567e-05/0.0703, allocations: 63.09 kB / 437.3 MB, free: 6.977 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.0703, allocations: 3.938 kB / 437.3 MB, free: 6.973 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.808e-05/0.07035, allocations: 97.03 kB / 437.4 MB, free: 6.859 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.07037, allocations: 29.7 kB / 437.4 MB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.07038, allocations: 0 / 437.4 MB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.07039, allocations: 4.094 kB / 437.4 MB, free: 6.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.026e-06/0.07039, allocations: 4 kB / 437.4 MB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.0704, allocations: 0 / 437.4 MB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.06e-05/0.07041, allocations: 0 / 437.4 MB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.07041, allocations: 3.938 kB / 437.4 MB, free: 6.812 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 5.98e-05/0.07047, allocations: 186.2 kB / 437.6 MB, free: 6.613 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-06/0.07047, allocations: 0 / 437.6 MB, free: 6.613 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.005e-06/0.07048, allocations: 6.984 kB / 437.6 MB, free: 6.609 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.61e-07/0.07048, allocations: 0 / 437.6 MB, free: 6.609 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.07049, allocations: 4 kB / 437.6 MB, free: 6.605 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.07049, allocations: 0 / 437.6 MB, free: 6.605 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.82e-05/0.07054, allocations: 112.6 kB / 437.7 MB, free: 6.461 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.07054, allocations: 7.938 kB / 437.7 MB, free: 6.453 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.71e-07/0.07054, allocations: 0 / 437.7 MB, free: 6.453 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.41e-07/0.07054, allocations: 0 / 437.7 MB, free: 6.453 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-06/0.07054, allocations: 4 kB / 437.8 MB, free: 6.449 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.07055, allocations: 0 / 437.8 MB, free: 6.449 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.07055, allocations: 0 / 437.8 MB, free: 6.449 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.602e-05/0.07061, allocations: 131.8 kB / 437.9 MB, free: 6.285 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.1e-06/0.07062, allocations: 7.938 kB / 437.9 MB, free: 6.277 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.07063, allocations: 4 kB / 437.9 MB, free: 6.273 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.491e-06/0.07063, allocations: 8.016 kB / 437.9 MB, free: 6.266 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.062e-05/0.07064, allocations: 0 / 437.9 MB, free: 6.266 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-06/0.07065, allocations: 0 / 437.9 MB, free: 6.266 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.319e-05/0.07068, allocations: 119.2 kB / 438 MB, free: 6.148 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.07068, allocations: 0 / 438 MB, free: 6.148 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007829/0.07851, allocations: 3.791 MB / 441.8 MB, free: 2.355 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.01235/0.09085, allocations: 1.07 MB / 442.9 MB, free: 1.305 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001407/0.091, allocations: 122.4 kB / 443 MB, free: 1.156 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.091, allocations: 4.062 kB / 443 MB, free: 1.152 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.21e-05/0.09103, allocations: 88.8 kB / 443.1 MB, free: 1.043 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.609e-05/0.09113, allocations: 11.94 kB / 443.1 MB, free: 1.031 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001927/0.09132, allocations: 113.6 kB / 443.2 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.906e-05/0.09135, allocations: 51.38 kB / 443.3 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.27e-06/0.09135, allocations: 0 / 443.3 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.699e-05/0.09137, allocations: 12.5 kB / 443.3 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of SimCode: time 9.02e-07/0.09137, allocations: 0 / 443.3 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of Templates: time 0.2563/0.3476, allocations: 124.9 MB / 0.5549 GB, free: 0.7188 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 232.22604212909937]