Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 106.2 kB / 19.81 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001944/0.001944, allocations: 198.3 kB / 22.98 MB, free: 5.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 225.6 MB / 251.6 MB, free: 13.35 MB / 206.1 MB " [Timeout remaining time 178] 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.2243/0.2243, allocations: 44.92 MB / 351.6 MB, free: 12.27 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 67.84 kB / 495.2 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4126/0.4146, allocations: 64.25 MB / 0.5464 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001803/0.4164, allocations: 0.4888 MB / 0.5468 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002619/0.4191, allocations: 1.541 MB / 0.5483 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.151e-05/0.4191, allocations: 0 / 0.5483 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.684e-05/0.4191, allocations: 0 / 0.5483 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.081e-06/0.4191, allocations: 0 / 0.5483 GB, free: 11.82 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0009688/0.4201, allocations: 227.4 kB / 0.5486 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.219e-05/0.4201, allocations: 1.625 kB / 0.5486 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.4202, allocations: 5.5 kB / 0.5486 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.022e-05/0.4202, allocations: 4 kB / 0.5486 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.122e-05/0.4202, allocations: 9.016 kB / 0.5486 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.873e-06/0.4202, allocations: 4 kB / 0.5486 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.4214, allocations: 0.7366 MB / 0.5493 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.192e-05/0.4214, allocations: 0 / 0.5493 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.633e-05/0.4215, allocations: 4.797 kB / 0.5493 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009037/0.4224, allocations: 0.6424 MB / 0.5499 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4224, allocations: 0 / 0.5499 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4224, allocations: 0 / 0.5499 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.556e-05/0.4224, allocations: 1.094 kB / 0.5499 GB, free: 11.04 MB / 398.1 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.0005723/0.4229, allocations: 364 kB / 0.5503 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.423, allocations: 12.72 kB / 0.5503 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.423, allocations: 6.031 kB / 0.5503 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.4231, allocations: 160.4 kB / 0.5505 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.4231, allocations: 1.5 kB / 0.5505 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.4232, allocations: 1.469 kB / 0.5505 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.4234, allocations: 40.12 kB / 0.5505 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.4234, allocations: 0 / 0.5505 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.4234, allocations: 0 / 0.5505 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.4234, allocations: 1.094 kB / 0.5505 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.071e-05/0.4234, allocations: 9.062 kB / 0.5505 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001489/0.4236, allocations: 150.7 kB / 0.5507 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.677e-05/0.4236, allocations: 20.77 kB / 0.5507 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.56e-05/0.4236, allocations: 5.922 kB / 0.5507 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.022e-06/0.4236, allocations: 3.984 kB / 0.5507 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.358e-05/0.4237, allocations: 69.25 kB / 0.5507 GB, free: 10.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.4237, allocations: 1.062 kB / 0.5507 GB, free: 10.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001737/0.4239, allocations: 65.78 kB / 0.5508 GB, free: 10 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.4239, allocations: 78.14 kB / 0.5509 GB, free: 9.906 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.641e-05/0.424, allocations: 89.86 kB / 0.551 GB, free: 9.809 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.424, allocations: 26.77 kB / 0.551 GB, free: 9.777 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.179e-05/0.424, allocations: 84.12 kB / 0.5511 GB, free: 9.691 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.424, allocations: 1.125 kB / 0.5511 GB, free: 9.691 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.4241, allocations: 15.88 kB / 0.5511 GB, free: 9.672 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.4242, allocations: 310.8 kB / 0.5514 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.366e-06/0.4242, allocations: 5.219 kB / 0.5514 GB, free: 9.355 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.481e-06/0.4242, allocations: 1.094 kB / 0.5514 GB, free: 9.355 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.2e-05/0.4243, allocations: 59.52 kB / 0.5515 GB, free: 9.285 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4243, allocations: 1.094 kB / 0.5515 GB, free: 9.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.985e-05/0.4244, allocations: 69.48 kB / 0.5515 GB, free: 9.211 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4e-05/0.4244, allocations: 35.95 kB / 0.5516 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.4244, allocations: 3.938 kB / 0.5516 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.4244, allocations: 0 / 0.5516 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/0.4244, allocations: 5.156 kB / 0.5516 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4244, allocations: 0 / 0.5516 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.661e-05/0.4244, allocations: 1.094 kB / 0.5516 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.4245, allocations: 0 / 0.5516 GB, free: 9.168 MB / 398.1 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 9.559e-05/0.4245, allocations: 138.7 kB / 0.5517 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.4246, allocations: 8.953 kB / 0.5517 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.045e-05/0.4246, allocations: 4.25 kB / 0.5517 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.4246, allocations: 0 / 0.5517 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.4246, allocations: 0 / 0.5517 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.4246, allocations: 9.125 kB / 0.5517 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.4247, allocations: 142.5 kB / 0.5519 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.4247, allocations: 0.8438 kB / 0.5519 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.525e-06/0.4247, allocations: 3.984 kB / 0.5519 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.4247, allocations: 5.062 kB / 0.5519 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.4247, allocations: 0 / 0.5519 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4247, allocations: 1.062 kB / 0.5519 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4247, allocations: 4 kB / 0.5519 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.4248, allocations: 93.66 kB / 0.552 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.4249, allocations: 85.09 kB / 0.552 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.4249, allocations: 5.938 kB / 0.552 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.776e-06/0.4249, allocations: 0 / 0.552 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.226e-05/0.4249, allocations: 1.125 kB / 0.552 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.4249, allocations: 1.156 kB / 0.552 GB, free: 8.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.546e-05/0.4249, allocations: 75.28 kB / 0.5521 GB, free: 8.516 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4249, allocations: 0 / 0.5521 GB, free: 8.516 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000594/0.4255, allocations: 120.3 kB / 0.5522 GB, free: 8.504 MB / 398.1 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.0007915/0.4263, allocations: 181.9 kB / 0.5524 GB, free: 8.375 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.4264, allocations: 64.69 kB / 0.5525 GB, free: 8.305 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4264, allocations: 3.938 kB / 0.5525 GB, free: 8.301 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.575e-05/0.4265, allocations: 58.67 kB / 0.5525 GB, free: 8.234 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/0.4266, allocations: 1.031 kB / 0.5525 GB, free: 8.234 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001905/0.4268, allocations: 84.86 kB / 0.5526 GB, free: 8.137 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.4272, allocations: 0.6738 MB / 0.5533 GB, free: 7.438 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.001e-06/0.4272, allocations: 0 / 0.5533 GB, free: 7.438 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.188e-05/0.4272, allocations: 8.562 kB / 0.5533 GB, free: 7.43 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4272, allocations: 0 / 0.5533 GB, free: 7.43 MB / 398.1 MB Notification: Performance of Templates: time 0.007939/0.4352, allocations: 3.927 MB / 0.5571 GB, free: 4.562 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.2622045036405325]