Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001088/0.001088, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00117/0.00117, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9787/0.9787, allocations: 177 MB / 205.2 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2759/0.2759, allocations: 34.86 MB / 296.6 MB, free: 0.5625 MB / 266.7 MB " [Timeout remaining time 180] 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.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 378.7 MB, free: 2.457 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.502e-05/1.647e-05, allocations: 2.312 kB / 378.7 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.0009475/0.0009639, allocations: 0.506 MB / 379.2 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005033/0.005997, allocations: 4.662 MB / 383.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.114e-05/0.006018, allocations: 4 kB / 383.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.407e-05/0.006032, allocations: 0 / 383.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 5.721e-06/0.006038, allocations: 0 / 383.9 MB, free: 13.25 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.004022/0.01006, allocations: 3.275 MB / 387.2 MB, free: 9.965 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.663e-05/0.01011, allocations: 8 kB / 387.2 MB, free: 9.957 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.356e-05/0.01014, allocations: 3.984 kB / 387.2 MB, free: 9.953 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.516e-05/0.01017, allocations: 4 kB / 387.2 MB, free: 9.949 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.375e-05/0.01018, allocations: 0 / 387.2 MB, free: 9.949 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.282e-06/0.01019, allocations: 0 / 387.2 MB, free: 9.949 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01788/0.02806, allocations: 19.8 MB / 407 MB, free: 6.125 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.02808, allocations: 0 / 407 MB, free: 6.125 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.599e-05/0.02811, allocations: 4 kB / 407 MB, free: 6.121 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0299/0.05801, allocations: 30.71 MB / 437.7 MB, free: 7.363 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.05802, allocations: 0 / 437.7 MB, free: 7.363 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.05802, allocations: 4 kB / 437.7 MB, free: 7.359 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.05802, allocations: 0 / 437.7 MB, free: 7.359 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.00585/0.06388, allocations: 0.6978 MB / 438.4 MB, free: 6.617 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.06392, allocations: 8.031 kB / 438.4 MB, free: 6.609 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/0.06397, allocations: 5.281 kB / 438.4 MB, free: 6.605 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.489e-05/0.06403, allocations: 108.6 kB / 438.5 MB, free: 6.473 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.06404, allocations: 4.125 kB / 438.5 MB, free: 6.469 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.06405, allocations: 0 / 438.5 MB, free: 6.469 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.746e-05/0.06415, allocations: 63.39 kB / 438.6 MB, free: 6.395 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.06416, allocations: 0 / 438.6 MB, free: 6.395 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.06417, allocations: 0 / 438.6 MB, free: 6.395 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.06417, allocations: 4 kB / 438.6 MB, free: 6.391 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.869e-05/0.06419, allocations: 29.7 kB / 438.6 MB, free: 6.355 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.086e-05/0.06428, allocations: 104.6 kB / 438.7 MB, free: 6.219 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.879e-05/0.06433, allocations: 60.67 kB / 438.8 MB, free: 6.141 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.057e-05/0.06435, allocations: 37.33 kB / 438.8 MB, free: 6.094 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.37e-06/0.06436, allocations: 3.984 kB / 438.8 MB, free: 6.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.0644, allocations: 63.16 kB / 438.9 MB, free: 6.012 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 6.41e-07/0.0644, allocations: 0 / 438.9 MB, free: 6.012 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.000181/0.06458, allocations: 118.8 kB / 439 MB, free: 5.871 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.06462, allocations: 85.22 kB / 439.1 MB, free: 5.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.902e-05/0.06466, allocations: 142.2 kB / 439.2 MB, free: 5.617 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.705e-06/0.06466, allocations: 25.7 kB / 439.2 MB, free: 5.586 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.497e-05/0.06469, allocations: 130.9 kB / 439.4 MB, free: 5.453 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.0647, allocations: 3.938 kB / 439.4 MB, free: 5.449 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.292e-05/0.06473, allocations: 19.38 kB / 439.4 MB, free: 5.422 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.573e-05/0.06482, allocations: 496.1 kB / 439.9 MB, free: 4.926 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.805e-05/0.06484, allocations: 25.7 kB / 439.9 MB, free: 4.895 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.148e-05/0.06485, allocations: 25.7 kB / 439.9 MB, free: 4.863 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.503e-05/0.0649, allocations: 67.08 kB / 440 MB, free: 4.781 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.0649, allocations: 4.062 kB / 440 MB, free: 4.777 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.549e-05/0.06495, allocations: 93.05 kB / 440.1 MB, free: 4.668 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.06498, allocations: 33.7 kB / 440.1 MB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.06499, allocations: 0 / 440.1 MB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.065, allocations: 0 / 440.1 MB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.065, allocations: 0 / 440.1 MB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.06501, allocations: 7.922 kB / 440.1 MB, free: 4.621 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.315e-05/0.06502, allocations: 0 / 440.1 MB, free: 4.621 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.06503, allocations: 0 / 440.1 MB, free: 4.621 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 6.436e-05/0.06509, allocations: 186.3 kB / 440.3 MB, free: 4.422 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.071e-06/0.0651, allocations: 11.95 kB / 440.3 MB, free: 4.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.315e-06/0.06511, allocations: 7 kB / 440.3 MB, free: 4.406 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.06511, allocations: 0 / 440.3 MB, free: 4.406 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.06511, allocations: 0 / 440.3 MB, free: 4.406 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.06511, allocations: 0 / 440.3 MB, free: 4.406 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.967e-05/0.06516, allocations: 108.6 kB / 440.4 MB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.81e-07/0.06516, allocations: 0 / 440.4 MB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.06516, allocations: 4 kB / 440.4 MB, free: 4.262 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.06516, allocations: 3.938 kB / 440.4 MB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-06/0.06517, allocations: 4 kB / 440.5 MB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.06517, allocations: 7.938 kB / 440.5 MB, free: 4.246 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.06517, allocations: 4 kB / 440.5 MB, free: 4.242 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.389e-05/0.06525, allocations: 127.8 kB / 440.6 MB, free: 4.082 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.458e-06/0.06525, allocations: 4 kB / 440.6 MB, free: 4.078 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.06526, allocations: 3.938 kB / 440.6 MB, free: 4.074 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.873e-06/0.06527, allocations: 4 kB / 440.6 MB, free: 4.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.065e-05/0.06528, allocations: 0 / 440.6 MB, free: 4.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-06/0.06528, allocations: 4 kB / 440.6 MB, free: 4.066 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.825e-05/0.06531, allocations: 119.2 kB / 440.7 MB, free: 3.949 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06531, allocations: 0 / 440.7 MB, free: 3.949 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.008669/0.07398, allocations: 3.783 MB / 444.5 MB, free: 168 kB / 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.1822/0.2562, allocations: 1.073 MB / 445.6 MB, free: 72.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001413/0.2563, allocations: 117.8 kB / 445.7 MB, free: 72.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.2563, allocations: 0 / 445.7 MB, free: 72.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.021e-05/0.2563, allocations: 92.31 kB / 445.8 MB, free: 72.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.333e-05/0.2564, allocations: 4.344 kB / 445.8 MB, free: 72.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001658/0.2566, allocations: 116.1 kB / 445.9 MB, free: 72.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.861e-05/0.2566, allocations: 57.39 kB / 446 MB, free: 72.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5e-06/0.2566, allocations: 2.906 kB / 446 MB, free: 72.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.251e-05/0.2566, allocations: 11.38 kB / 446 MB, free: 72.09 MB / 410.7 MB Notification: Performance of SimCode: time 1.342e-06/0.2566, allocations: 3.062 kB / 446 MB, free: 72.09 MB / 410.7 MB Notification: Performance of Templates: time 0.1267/0.3833, allocations: 116.9 MB / 0.5496 GB, free: 4.918 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 8.459786382969469]