Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00113/0.00113, allocations: 197.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008461/0.0008461, allocations: 83.17 kB / 292.1 MB, free: 5.941 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1881/0.1881, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.507e-05/2.508e-05, allocations: 3.984 kB / 460.5 MB, free: 69.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09825/0.09829, allocations: 63.24 MB / 0.5115 GB, free: 6.723 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3754/0.4737, allocations: 90.99 MB / 0.6003 GB, free: 2.918 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000188/0.4739, allocations: 64.03 kB / 0.6004 GB, free: 2.887 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06374/0.5377, allocations: 25.92 MB / 0.6257 GB, free: 12.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.5377, allocations: 0 / 0.6257 GB, free: 12.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.5377, allocations: 0 / 0.6257 GB, free: 12.79 MB / 426.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.0005096/0.5383, allocations: 431.1 kB / 0.6261 GB, free: 12.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.5383, allocations: 19.97 kB / 0.6261 GB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.229e-05/0.5384, allocations: 30.56 kB / 0.6261 GB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.233e-05/0.5384, allocations: 7.891 kB / 0.6262 GB, free: 12.26 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.159e-05/0.5385, allocations: 163.1 kB / 0.6263 GB, free: 12.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.5385, allocations: 4 kB / 0.6263 GB, free: 12.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.5385, allocations: 0 / 0.6263 GB, free: 12.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.093e-05/0.5386, allocations: 32.95 kB / 0.6263 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.5386, allocations: 0 / 0.6263 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.5386, allocations: 0 / 0.6263 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.5386, allocations: 7.922 kB / 0.6264 GB, free: 12.01 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.643e-05/0.5386, allocations: 11.95 kB / 0.6264 GB, free: 12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001126/0.5388, allocations: 141.7 kB / 0.6265 GB, free: 11.81 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.78e-05/0.5388, allocations: 26.53 kB / 0.6265 GB, free: 11.78 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.245e-05/0.5388, allocations: 8.172 kB / 0.6265 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.181e-06/0.5388, allocations: 0 / 0.6265 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.5389, allocations: 56.27 kB / 0.6266 GB, free: 11.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.5389, allocations: 4 kB / 0.6266 GB, free: 11.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001297/0.539, allocations: 59.47 kB / 0.6266 GB, free: 11.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.5391, allocations: 77.11 kB / 0.6267 GB, free: 11.53 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.275e-05/0.5391, allocations: 88.56 kB / 0.6268 GB, free: 11.44 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.5391, allocations: 25.7 kB / 0.6268 GB, free: 11.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.589e-05/0.5392, allocations: 84.12 kB / 0.6269 GB, free: 11.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.5392, allocations: 7.938 kB / 0.6269 GB, free: 11.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.793e-06/0.5392, allocations: 0 / 0.6269 GB, free: 11.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.309e-05/0.5393, allocations: 318.7 kB / 0.6272 GB, free: 11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.402e-06/0.5393, allocations: 4.031 kB / 0.6272 GB, free: 10.99 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.848e-06/0.5393, allocations: 0 / 0.6272 GB, free: 10.99 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.476e-05/0.5393, allocations: 29.7 kB / 0.6273 GB, free: 10.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.5393, allocations: 0 / 0.6273 GB, free: 10.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.636e-05/0.5394, allocations: 59.41 kB / 0.6273 GB, free: 10.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.5394, allocations: 37.25 kB / 0.6273 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.5394, allocations: 0 / 0.6273 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.898e-06/0.5395, allocations: 0 / 0.6273 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.5395, allocations: 96 / 0.6273 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.5395, allocations: 4 kB / 0.6273 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.197e-05/0.5395, allocations: 4 kB / 0.6274 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.5395, allocations: 0 / 0.6274 GB, free: 10.84 MB / 426.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 () * 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 6.459e-05/0.5396, allocations: 134.6 kB / 0.6275 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.464e-06/0.5396, allocations: 0 / 0.6275 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.558e-06/0.5396, allocations: 11.06 kB / 0.6275 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.5396, allocations: 0 / 0.6275 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.5396, allocations: 0 / 0.6275 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-06/0.5396, allocations: 0 / 0.6275 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.896e-05/0.5397, allocations: 157.6 kB / 0.6276 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.5397, allocations: 0 / 0.6276 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.5397, allocations: 3.938 kB / 0.6276 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.5397, allocations: 4 kB / 0.6276 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.5397, allocations: 0 / 0.6276 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.5397, allocations: 0 / 0.6276 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.5397, allocations: 0 / 0.6276 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.012e-05/0.5398, allocations: 97.16 kB / 0.6277 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-05/0.5399, allocations: 81.77 kB / 0.6278 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.5399, allocations: 0 / 0.6278 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-06/0.5399, allocations: 0 / 0.6278 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.5399, allocations: 0 / 0.6278 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.5399, allocations: 11.98 kB / 0.6278 GB, free: 10.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.501e-05/0.54, allocations: 75.28 kB / 0.6279 GB, free: 10.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.905e-06/0.54, allocations: 0 / 0.6279 GB, free: 10.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004041/0.5404, allocations: 159.3 kB / 0.6281 GB, free: 10.02 MB / 426.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) * 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.0009777/0.5414, allocations: 0.8719 MB / 0.6289 GB, free: 9.145 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.746e-05/0.5414, allocations: 59.34 kB / 0.629 GB, free: 9.074 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5415, allocations: 0 / 0.629 GB, free: 9.074 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.931e-05/0.5415, allocations: 59.47 kB / 0.629 GB, free: 9.004 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.001e-05/0.5416, allocations: 1.562 kB / 0.629 GB, free: 9.004 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000297/0.5419, allocations: 138 kB / 0.6292 GB, free: 8.836 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.5421, allocations: 0.6731 MB / 0.6298 GB, free: 8.137 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.468e-06/0.5421, allocations: 0 / 0.6298 GB, free: 8.137 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.455e-05/0.5421, allocations: 7.438 kB / 0.6298 GB, free: 8.129 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5421, allocations: 7.875 kB / 0.6298 GB, free: 8.121 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0155/0.5576, allocations: 5.262 MB / 0.635 GB, free: 2.953 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/0.5578, allocations: 173.3 kB / 0.6351 GB, free: 2.734 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.557/2.114, allocations: 4.062 kB / 0.6351 GB, free: 2.73 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_res.mat does not exist to compare? outputFormat=mat