Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.709/1.709, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008032/0.0008032, allocations: 90.56 kB / 261.7 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2069/0.2069, allocations: 43.5 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.67e-05/1.673e-05, allocations: 0 / 418.3 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.118, allocations: 58.87 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4172/0.5352, allocations: 85.7 MB / 0.5497 GB, free: 8.707 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001925/0.5355, allocations: 67.25 kB / 0.5498 GB, free: 8.676 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01435/0.5499, allocations: 5.969 MB / 0.5556 GB, free: 4.133 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5499, allocations: 0 / 0.5556 GB, free: 4.133 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.5499, allocations: 0 / 0.5556 GB, free: 4.133 MB / 362.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.000279/0.5502, allocations: 411.4 kB / 0.556 GB, free: 3.691 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.5502, allocations: 12.03 kB / 0.556 GB, free: 3.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.5503, allocations: 4 kB / 0.556 GB, free: 3.676 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.176e-05/0.5504, allocations: 163 kB / 0.5562 GB, free: 3.477 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.5504, allocations: 0 / 0.5562 GB, free: 3.477 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.5504, allocations: 0 / 0.5562 GB, free: 3.477 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.851e-05/0.5504, allocations: 7.984 kB / 0.5562 GB, free: 3.469 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.458e-05/0.5505, allocations: 29.64 kB / 0.5562 GB, free: 3.434 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.5505, allocations: 0 / 0.5562 GB, free: 3.434 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.5505, allocations: 7.938 kB / 0.5562 GB, free: 3.426 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.5505, allocations: 0 / 0.5562 GB, free: 3.426 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.639e-05/0.5506, allocations: 132.5 kB / 0.5563 GB, free: 3.262 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.926e-05/0.5507, allocations: 18.52 kB / 0.5564 GB, free: 3.234 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.225e-05/0.5507, allocations: 12.94 kB / 0.5564 GB, free: 3.219 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.374e-06/0.5507, allocations: 0 / 0.5564 GB, free: 3.219 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.5507, allocations: 59.39 kB / 0.5564 GB, free: 3.148 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.5507, allocations: 0 / 0.5564 GB, free: 3.148 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.000155/0.5509, allocations: 33.7 kB / 0.5565 GB, free: 3.109 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/0.5509, allocations: 81.14 kB / 0.5565 GB, free: 3.012 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.292e-05/0.551, allocations: 89 kB / 0.5566 GB, free: 2.918 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.551, allocations: 29.69 kB / 0.5566 GB, free: 2.883 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.51e-05/0.551, allocations: 83.52 kB / 0.5567 GB, free: 2.801 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.551, allocations: 0.625 kB / 0.5567 GB, free: 2.801 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-06/0.551, allocations: 0 / 0.5567 GB, free: 2.801 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.481e-05/0.5511, allocations: 310.8 kB / 0.557 GB, free: 2.488 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.544e-06/0.5511, allocations: 7.938 kB / 0.557 GB, free: 2.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.988e-06/0.5511, allocations: 4.125 kB / 0.557 GB, free: 2.477 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.216e-05/0.5511, allocations: 0 / 0.557 GB, free: 2.477 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5512, allocations: 0 / 0.557 GB, free: 2.477 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.574e-05/0.5512, allocations: 37.66 kB / 0.5571 GB, free: 2.434 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.5512, allocations: 41.12 kB / 0.5571 GB, free: 2.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.5513, allocations: 0 / 0.5571 GB, free: 2.391 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.5513, allocations: 0 / 0.5571 GB, free: 2.391 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.5513, allocations: 0 / 0.5571 GB, free: 2.391 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.5513, allocations: 0.7031 kB / 0.5571 GB, free: 2.391 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.602e-05/0.5513, allocations: 4.094 kB / 0.5571 GB, free: 2.387 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.5513, allocations: 4 kB / 0.5571 GB, free: 2.383 MB / 362.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 5.102e-05/0.5514, allocations: 126.7 kB / 0.5572 GB, free: 2.246 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.599e-05/0.5514, allocations: 57.23 kB / 0.5573 GB, free: 2.188 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-06/0.5514, allocations: 0 / 0.5573 GB, free: 2.188 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.411e-05/0.5515, allocations: 7.734 kB / 0.5573 GB, free: 2.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.5515, allocations: 0 / 0.5573 GB, free: 2.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5515, allocations: 0 / 0.5573 GB, free: 2.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.5515, allocations: 3.938 kB / 0.5573 GB, free: 2.176 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.673e-05/0.5515, allocations: 141.3 kB / 0.5574 GB, free: 2.004 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.5516, allocations: 0 / 0.5574 GB, free: 2.004 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.01e-07/0.5516, allocations: 4 kB / 0.5574 GB, free: 2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.5516, allocations: 0 / 0.5574 GB, free: 2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.5516, allocations: 0 / 0.5574 GB, free: 2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.5516, allocations: 4 kB / 0.5574 GB, free: 1.996 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5516, allocations: 0 / 0.5574 GB, free: 1.996 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.712e-05/0.5517, allocations: 63.94 kB / 0.5575 GB, free: 1.918 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.838e-05/0.5517, allocations: 89.09 kB / 0.5576 GB, free: 1.812 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.5517, allocations: 0 / 0.5576 GB, free: 1.812 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.076e-05/0.5517, allocations: 0 / 0.5576 GB, free: 1.812 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.15e-05/0.5517, allocations: 0 / 0.5576 GB, free: 1.812 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.5517, allocations: 0 / 0.5576 GB, free: 1.812 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.622e-05/0.5518, allocations: 83.22 kB / 0.5577 GB, free: 1.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5518, allocations: 0 / 0.5577 GB, free: 1.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002639/0.552, allocations: 78.34 kB / 0.5577 GB, free: 1.664 MB / 362.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.000705/0.5527, allocations: 0.842 MB / 0.5586 GB, free: 0.8359 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.054e-05/0.5528, allocations: 55.41 kB / 0.5586 GB, free: 0.7695 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5528, allocations: 0 / 0.5586 GB, free: 0.7695 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.028e-05/0.5529, allocations: 58.84 kB / 0.5587 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.106e-05/0.553, allocations: 0 / 0.5587 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000262/0.5532, allocations: 129.4 kB / 0.5588 GB, free: 0.543 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.5534, allocations: 0.6806 MB / 0.5595 GB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.075e-06/0.5534, allocations: 0 / 0.5595 GB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.164e-05/0.5534, allocations: 11.31 kB / 0.5595 GB, free: 15.83 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5534, allocations: 0 / 0.5595 GB, free: 15.83 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/0.576, allocations: 1.998 MB / 0.5614 GB, free: 13.84 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000212/0.5763, allocations: 150.3 kB / 0.5616 GB, free: 13.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.432/2.009, allocations: 0 / 0.5616 GB, free: 13.64 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat does not exist to compare? outputFormat=mat