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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00104/0.00104, allocations: 121.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001153/0.001153, allocations: 207.8 kB / 18.74 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2223/0.2223, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 71.88 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3688, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001512/0.3704, allocations: 496.3 kB / 0.5315 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.3723, allocations: 1.558 MB / 0.533 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.739e-05/0.3723, allocations: 6.031 kB / 0.533 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.312e-05/0.3723, allocations: 0 / 0.533 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.859e-06/0.3724, allocations: 4 kB / 0.533 GB, free: 11.98 MB / 398.1 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.0007961/0.3732, allocations: 225.6 kB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.631e-05/0.3732, allocations: 2.531 kB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.556e-05/0.3733, allocations: 5.188 kB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.404e-05/0.3733, allocations: 0 / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.714e-05/0.3733, allocations: 6.203 kB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.58e-06/0.3733, allocations: 0 / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008635/0.3742, allocations: 0.7068 MB / 0.5339 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.606e-06/0.3742, allocations: 7.984 kB / 0.5339 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.556e-05/0.3742, allocations: 1.5 kB / 0.5339 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006342/0.3749, allocations: 0.6436 MB / 0.5345 GB, free: 11.22 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.3749, allocations: 0 / 0.5345 GB, free: 11.22 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3749, allocations: 1.188 kB / 0.5345 GB, free: 11.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.3749, allocations: 0 / 0.5345 GB, free: 11.22 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.0003689/0.3753, allocations: 363.4 kB / 0.5349 GB, free: 10.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.3753, allocations: 9.469 kB / 0.5349 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.3753, allocations: 1.969 kB / 0.5349 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.687e-05/0.3754, allocations: 168.3 kB / 0.5351 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.3754, allocations: 5.312 kB / 0.5351 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.074e-06/0.3754, allocations: 1.562 kB / 0.5351 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.172e-05/0.3755, allocations: 31.55 kB / 0.5351 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.3755, allocations: 1.25 kB / 0.5351 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.3755, allocations: 0 / 0.5351 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.3755, allocations: 0 / 0.5351 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.486e-05/0.3756, allocations: 1.875 kB / 0.5351 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001176/0.3757, allocations: 142.8 kB / 0.5352 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.076e-05/0.3757, allocations: 32.53 kB / 0.5353 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.28e-05/0.3758, allocations: 6.047 kB / 0.5353 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.112e-06/0.3758, allocations: 0 / 0.5353 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.687e-05/0.3758, allocations: 61.52 kB / 0.5353 GB, free: 10.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.3758, allocations: 0 / 0.5353 GB, free: 10.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.000139/0.376, allocations: 59.97 kB / 0.5354 GB, free: 10.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.376, allocations: 81.09 kB / 0.5355 GB, free: 10.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.105e-05/0.3761, allocations: 97.98 kB / 0.5356 GB, free: 10.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.3761, allocations: 27.02 kB / 0.5356 GB, free: 9.977 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.37e-05/0.3761, allocations: 80.14 kB / 0.5357 GB, free: 9.895 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.3762, allocations: 5.5 kB / 0.5357 GB, free: 9.891 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.3762, allocations: 10.94 kB / 0.5357 GB, free: 9.875 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3763, allocations: 320 kB / 0.536 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.165e-06/0.3763, allocations: 0 / 0.536 GB, free: 9.555 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.618e-06/0.3763, allocations: 1.312 kB / 0.536 GB, free: 9.555 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.244e-05/0.3764, allocations: 68.45 kB / 0.536 GB, free: 9.477 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3764, allocations: 0 / 0.536 GB, free: 9.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.376e-05/0.3764, allocations: 61.48 kB / 0.5361 GB, free: 9.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.51e-05/0.3765, allocations: 35.98 kB / 0.5361 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.3765, allocations: 3.984 kB / 0.5361 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.3765, allocations: 0 / 0.5361 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.3765, allocations: 1.469 kB / 0.5361 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.3765, allocations: 3.938 kB / 0.5361 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.615e-05/0.3765, allocations: 0 / 0.5361 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.3766, allocations: 9.281 kB / 0.5362 GB, free: 9.359 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 7.338e-05/0.3766, allocations: 142.2 kB / 0.5363 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.277e-06/0.3767, allocations: 3.938 kB / 0.5363 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.049e-05/0.3767, allocations: 8.469 kB / 0.5363 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.3767, allocations: 0 / 0.5363 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3767, allocations: 0 / 0.5363 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-06/0.3767, allocations: 1.062 kB / 0.5363 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.955e-05/0.3768, allocations: 150.8 kB / 0.5364 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3768, allocations: 0 / 0.5364 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.3768, allocations: 5.281 kB / 0.5365 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.3768, allocations: 3.938 kB / 0.5365 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.3768, allocations: 5.156 kB / 0.5365 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.3768, allocations: 0 / 0.5365 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3768, allocations: 0 / 0.5365 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.82e-05/0.3769, allocations: 89.67 kB / 0.5365 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.884e-05/0.377, allocations: 78.23 kB / 0.5366 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.377, allocations: 5.094 kB / 0.5366 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.869e-06/0.377, allocations: 4.031 kB / 0.5366 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.925e-06/0.377, allocations: 4.875 kB / 0.5366 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.377, allocations: 1.094 kB / 0.5366 GB, free: 8.785 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.584e-05/0.3771, allocations: 75.28 kB / 0.5367 GB, free: 8.711 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3771, allocations: 1.156 kB / 0.5367 GB, free: 8.711 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003921/0.3775, allocations: 124.6 kB / 0.5368 GB, free: 8.695 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.0006595/0.3781, allocations: 174.5 kB / 0.537 GB, free: 8.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 8.79e-05/0.3782, allocations: 60.73 kB / 0.5371 GB, free: 8.504 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3782, allocations: 0 / 0.5371 GB, free: 8.504 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.098e-05/0.3783, allocations: 59.41 kB / 0.5371 GB, free: 8.438 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001158/0.3784, allocations: 7.594 kB / 0.5371 GB, free: 8.434 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001527/0.3786, allocations: 76.98 kB / 0.5372 GB, free: 8.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.3788, allocations: 0.6779 MB / 0.5379 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.51e-06/0.3788, allocations: 3.938 kB / 0.5379 GB, free: 7.633 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.696e-06/0.3788, allocations: 8.438 kB / 0.5379 GB, free: 7.625 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3788, allocations: 0 / 0.5379 GB, free: 7.625 MB / 398.1 MB Notification: Performance of Templates: time 0.007929/0.3868, allocations: 3.927 MB / 0.5417 GB, free: 5.59 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.makefile (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)