Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62",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.0009476/0.0009476, allocations: 177.6 kB / 8.008 MB, free: 1.066 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.555/1.555, allocations: 205.3 MB / 213.7 MB, free: 1.734 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.0009336/0.0009331, allocations: 86.34 kB / 261.7 MB, free: 1.684 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.2135/0.2135, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.346e-05/3.357e-05, allocations: 8 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.13, allocations: 58.86 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4708/0.6009, allocations: 86.8 MB / 0.5508 GB, free: 7.797 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.6012, allocations: 76.47 kB / 0.5509 GB, free: 7.762 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01328/0.6145, allocations: 5.485 MB / 0.5562 GB, free: 3.379 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.6145, allocations: 0 / 0.5562 GB, free: 3.379 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.756e-05/0.6146, allocations: 0 / 0.5562 GB, free: 3.379 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004831/0.6151, allocations: 408.4 kB / 0.5566 GB, free: 2.945 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/0.6151, allocations: 12.03 kB / 0.5566 GB, free: 2.934 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.582e-05/0.6152, allocations: 15.81 kB / 0.5566 GB, free: 2.918 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.6155, allocations: 233 kB / 0.5569 GB, free: 2.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.6155, allocations: 0 / 0.5569 GB, free: 2.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.6155, allocations: 0 / 0.5569 GB, free: 2.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.766e-05/0.6156, allocations: 14.12 kB / 0.5569 GB, free: 2.652 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.964e-05/0.6157, allocations: 49.86 kB / 0.5569 GB, free: 2.602 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.6157, allocations: 0 / 0.5569 GB, free: 2.602 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.6157, allocations: 0 / 0.5569 GB, free: 2.602 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.6157, allocations: 0 / 0.5569 GB, free: 2.602 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.6159, allocations: 175.4 kB / 0.5571 GB, free: 2.406 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.1e-05/0.616, allocations: 49.02 kB / 0.5571 GB, free: 2.359 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.392e-05/0.6161, allocations: 20.5 kB / 0.5572 GB, free: 2.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.6161, allocations: 0 / 0.5572 GB, free: 2.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001149/0.6162, allocations: 62.09 kB / 0.5572 GB, free: 2.273 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.472e-06/0.6162, allocations: 4 kB / 0.5572 GB, free: 2.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001873/0.6164, allocations: 87.73 kB / 0.5573 GB, free: 2.188 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.6164, allocations: 51.41 kB / 0.5574 GB, free: 2.125 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.6167, allocations: 228.6 kB / 0.5576 GB, free: 1.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.6167, allocations: 29.64 kB / 0.5576 GB, free: 1.895 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.924e-05/0.6167, allocations: 112.4 kB / 0.5577 GB, free: 1.801 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.6168, allocations: 11.19 kB / 0.5577 GB, free: 1.793 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-06/0.6168, allocations: 3.938 kB / 0.5577 GB, free: 1.789 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.791e-05/0.6168, allocations: 334.2 kB / 0.558 GB, free: 1.457 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.656e-05/0.6169, allocations: 11.12 kB / 0.5581 GB, free: 1.453 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.984e-05/0.6169, allocations: 21.03 kB / 0.5581 GB, free: 1.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.102e-05/0.617, allocations: 18.98 kB / 0.5581 GB, free: 1.418 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.617, allocations: 0 / 0.5581 GB, free: 1.418 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.875e-05/0.6171, allocations: 80.42 kB / 0.5582 GB, free: 1.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.6171, allocations: 4 kB / 0.5582 GB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.6171, allocations: 0 / 0.5582 GB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.6172, allocations: 4.031 kB / 0.5582 GB, free: 1.332 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.656e-05/0.6172, allocations: 12 kB / 0.5582 GB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.6172, allocations: 3.984 kB / 0.5582 GB, free: 1.316 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.719e-05/0.6173, allocations: 7.906 kB / 0.5582 GB, free: 1.309 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.6173, allocations: 3.375 kB / 0.5582 GB, free: 1.309 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.873e-05/0.6174, allocations: 105 kB / 0.5583 GB, free: 1.199 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001002/0.6175, allocations: 83.8 kB / 0.5584 GB, free: 1.121 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.6175, allocations: 15.8 kB / 0.5584 GB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.6177, allocations: 96.89 kB / 0.5585 GB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.6177, allocations: 0 / 0.5585 GB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.6177, allocations: 3.984 kB / 0.5585 GB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.6177, allocations: 0 / 0.5585 GB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.6178, allocations: 187.7 kB / 0.5587 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.6178, allocations: 3.953 kB / 0.5587 GB, free: 0.8086 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.64e-05/0.6179, allocations: 4 kB / 0.5587 GB, free: 0.8047 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.6179, allocations: 0 / 0.5587 GB, free: 0.8047 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.6179, allocations: 3.984 kB / 0.5587 GB, free: 0.8008 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.6179, allocations: 4.25 kB / 0.5587 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.6179, allocations: 3.984 kB / 0.5587 GB, free: 0.793 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.618, allocations: 114.9 kB / 0.5588 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.059e-05/0.6181, allocations: 108 kB / 0.5589 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.6181, allocations: 0 / 0.5589 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.614e-05/0.6182, allocations: 4 kB / 0.5589 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.6182, allocations: 3.984 kB / 0.5589 GB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.6183, allocations: 4 kB / 0.5589 GB, free: 0.543 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001494/0.6184, allocations: 191.4 kB / 0.5591 GB, free: 400 kB / 362.7 MB Notification: Performance of sort global known variables: time 8.92e-07/0.6184, allocations: 4 kB / 0.5591 GB, free: 396 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002143/0.6186, allocations: 27.94 kB / 0.5591 GB, free: 368 kB / 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00115/0.6198, allocations: 0.893 MB / 0.56 GB, free: 15.51 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001159/0.6199, allocations: 39.48 kB / 0.56 GB, free: 15.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6199, allocations: 0 / 0.56 GB, free: 15.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.677e-05/0.62, allocations: 19.75 kB / 0.5601 GB, free: 15.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.6202, allocations: 27.42 kB / 0.5601 GB, free: 15.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005482/0.6208, allocations: 257.7 kB / 0.5603 GB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.6212, allocations: 0.7234 MB / 0.561 GB, free: 14.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.218e-05/0.6213, allocations: 12.44 kB / 0.561 GB, free: 14.42 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.656e-05/0.6213, allocations: 38.3 kB / 0.5611 GB, free: 14.41 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6214, allocations: 0 / 0.5611 GB, free: 14.41 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02495/0.6463, allocations: 2.769 MB / 0.5638 GB, free: 11.65 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002775/0.6467, allocations: 171.5 kB / 0.564 GB, free: 11.45 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/2.297, allocations: 0 / 0.564 GB, free: 11.45 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat does not exist to compare? outputFormat=mat