Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01039/0.01039, allocations: 176 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.107/2.107, allocations: 194.5 MB / 210.3 MB, free: 8.602 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002/0.002, allocations: 116.6 kB / 255.6 MB, free: 11.21 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.29/0.29, allocations: 40.01 MB / 340.8 MB, free: 11.55 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007311/0.0007308, allocations: 10.19 kB / 406.3 MB, free: 52.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1306, allocations: 54.87 MB / 461.1 MB, free: 3.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1498/0.2804, allocations: 81.44 MB / 0.5299 GB, free: 1.793 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/0.2807, allocations: 67.97 kB / 0.5299 GB, free: 1.727 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3189/0.5997, allocations: 2.753 MB / 0.5326 GB, free: 82.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.5997, allocations: 1.125 kB / 0.5326 GB, free: 82.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.5997, allocations: 1.938 kB / 0.5326 GB, free: 82.15 MB / 378.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.0004008/0.6002, allocations: 386.2 kB / 0.533 GB, free: 81.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.6002, allocations: 8.75 kB / 0.533 GB, free: 81.75 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.544e-05/0.6003, allocations: 32.53 kB / 0.533 GB, free: 81.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.918e-05/0.6003, allocations: 4.25 kB / 0.533 GB, free: 81.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.305e-05/0.6004, allocations: 160 kB / 0.5332 GB, free: 81.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.6004, allocations: 0.625 kB / 0.5332 GB, free: 81.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.6004, allocations: 5.25 kB / 0.5332 GB, free: 81.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.6005, allocations: 38.77 kB / 0.5332 GB, free: 81.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.6006, allocations: 3.938 kB / 0.5332 GB, free: 81.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.6006, allocations: 0 / 0.5332 GB, free: 81.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.6006, allocations: 1.062 kB / 0.5332 GB, free: 81.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.191e-05/0.6006, allocations: 2.266 kB / 0.5332 GB, free: 81.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001187/0.6008, allocations: 148 kB / 0.5334 GB, free: 81.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.171e-05/0.6008, allocations: 23.52 kB / 0.5334 GB, free: 81.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-06/0.6008, allocations: 1.688 kB / 0.5334 GB, free: 81.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/0.6009, allocations: 65.7 kB / 0.5335 GB, free: 81.19 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.503e-06/0.6009, allocations: 2.406 kB / 0.5335 GB, free: 81.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001834/0.6011, allocations: 65.78 kB / 0.5335 GB, free: 81.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.6011, allocations: 80.06 kB / 0.5336 GB, free: 81.03 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.607e-05/0.6012, allocations: 86 kB / 0.5337 GB, free: 80.94 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.829e-06/0.6012, allocations: 25.7 kB / 0.5337 GB, free: 80.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.675e-05/0.6012, allocations: 80.14 kB / 0.5338 GB, free: 80.83 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.6013, allocations: 1.75 kB / 0.5338 GB, free: 80.83 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.6013, allocations: 4.125 kB / 0.5338 GB, free: 80.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.07e-05/0.6013, allocations: 319.4 kB / 0.5341 GB, free: 80.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.141e-05/0.6014, allocations: 1.188 kB / 0.5341 GB, free: 80.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.025e-06/0.6014, allocations: 0.9688 kB / 0.5341 GB, free: 80.51 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.916e-05/0.6014, allocations: 30.84 kB / 0.5341 GB, free: 80.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.6014, allocations: 0 / 0.5341 GB, free: 80.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.279e-05/0.6015, allocations: 59.06 kB / 0.5342 GB, free: 80.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/0.6016, allocations: 30.27 kB / 0.5342 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.6016, allocations: 1.344 kB / 0.5342 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.6016, allocations: 4 kB / 0.5342 GB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.196e-06/0.6016, allocations: 3.578 kB / 0.5342 GB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.6016, allocations: 3.953 kB / 0.5342 GB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.328e-05/0.6017, allocations: 1 kB / 0.5342 GB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.6017, allocations: 0 / 0.5342 GB, free: 80.38 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.223e-05/0.6018, allocations: 144.5 kB / 0.5344 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-06/0.6018, allocations: 2.844 kB / 0.5344 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.375e-05/0.6018, allocations: 4.734 kB / 0.5344 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.6018, allocations: 5.031 kB / 0.5344 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.6018, allocations: 2.188 kB / 0.5344 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.6018, allocations: 6.531 kB / 0.5344 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.362e-05/0.6019, allocations: 142.8 kB / 0.5345 GB, free: 80.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.6019, allocations: 1.125 kB / 0.5345 GB, free: 80.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.304e-06/0.6019, allocations: 1.594 kB / 0.5345 GB, free: 80.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.6019, allocations: 0 / 0.5345 GB, free: 80.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.602, allocations: 3.703 kB / 0.5345 GB, free: 80.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.602, allocations: 2.219 kB / 0.5345 GB, free: 80.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.602, allocations: 0 / 0.5345 GB, free: 80.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.6021, allocations: 99.66 kB / 0.5346 GB, free: 79.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.25e-05/0.6021, allocations: 80.8 kB / 0.5347 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.6022, allocations: 2.531 kB / 0.5347 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.348e-05/0.6022, allocations: 1.781 kB / 0.5347 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.544e-05/0.6022, allocations: 1.219 kB / 0.5347 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.6022, allocations: 3.469 kB / 0.5347 GB, free: 79.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.562e-05/0.6022, allocations: 75.28 kB / 0.5348 GB, free: 79.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.6023, allocations: 1.469 kB / 0.5348 GB, free: 79.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006011/0.6029, allocations: 94.09 kB / 0.5349 GB, free: 79.73 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009968/0.6039, allocations: 0.7294 MB / 0.5356 GB, free: 79.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001294/0.6041, allocations: 57.95 kB / 0.5356 GB, free: 79.01 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.6041, allocations: 3.938 kB / 0.5356 GB, free: 79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.208e-05/0.6041, allocations: 59.23 kB / 0.5357 GB, free: 78.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001069/0.6042, allocations: 6.156 kB / 0.5357 GB, free: 78.94 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005288/0.6048, allocations: 147.5 kB / 0.5358 GB, free: 78.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.6049, allocations: 0.674 MB / 0.5365 GB, free: 78.08 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.496e-06/0.605, allocations: 1.844 kB / 0.5365 GB, free: 78.08 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.635e-05/0.605, allocations: 7.438 kB / 0.5365 GB, free: 78.07 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.605, allocations: 0 / 0.5365 GB, free: 78.07 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02611/0.6311, allocations: 2.041 MB / 0.5385 GB, free: 77.82 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006473/0.6319, allocations: 204.6 kB / 0.5387 GB, free: 77.58 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.592/3.224, allocations: 0 / 0.5387 GB, free: 77.58 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices_res.mat does not exist to compare? outputFormat=mat