Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",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.001117/0.001118, 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.604/1.604, 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.0007995/0.0007994, allocations: 86.41 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.2257/0.2257, allocations: 43.48 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.2e-05/2.201e-05, allocations: 8 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1243, allocations: 58.86 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4534/0.5777, allocations: 87.07 MB / 0.5511 GB, free: 7.609 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/0.5779, allocations: 81.23 kB / 0.5511 GB, free: 7.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01842/0.5964, allocations: 7.6 MB / 0.5586 GB, free: 1.492 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5965, allocations: 0 / 0.5586 GB, free: 1.492 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.319e-05/0.5965, allocations: 4 kB / 0.5586 GB, free: 1.488 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006902/0.5972, allocations: 0.4899 MB / 0.559 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.5973, allocations: 15.97 kB / 0.5591 GB, free: 0.957 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.449e-05/0.5973, allocations: 31.67 kB / 0.5591 GB, free: 0.9258 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004761/0.5978, allocations: 295.5 kB / 0.5594 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.5979, allocations: 4 kB / 0.5594 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.5979, allocations: 4 kB / 0.5594 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001139/0.598, allocations: 35.55 kB / 0.5594 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.5982, allocations: 88.36 kB / 0.5595 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.5982, allocations: 7.938 kB / 0.5595 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.5982, allocations: 4 kB / 0.5595 GB, free: 0.4922 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.5983, allocations: 7.953 kB / 0.5595 GB, free: 496 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005084/0.5988, allocations: 436.1 kB / 0.5599 GB, free: 64 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.599, allocations: 104.6 kB / 0.56 GB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.85e-05/0.599, allocations: 35.59 kB / 0.5601 GB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.5991, allocations: 0 / 0.5601 GB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001825/0.5993, allocations: 108.8 kB / 0.5602 GB, free: 15.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.133e-06/0.5993, allocations: 7.938 kB / 0.5602 GB, free: 15.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007067/0.6, allocations: 317.2 kB / 0.5605 GB, free: 15.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.6, allocations: 80.98 kB / 0.5606 GB, free: 15.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003975/0.6004, allocations: 372 kB / 0.5609 GB, free: 15.15 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.6005, allocations: 29.14 kB / 0.5609 GB, free: 15.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.82e-05/0.6006, allocations: 149.9 kB / 0.5611 GB, free: 15.01 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.406e-05/0.6006, allocations: 49.8 kB / 0.5611 GB, free: 14.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-06/0.6007, allocations: 0 / 0.5611 GB, free: 14.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.6008, allocations: 344.6 kB / 0.5615 GB, free: 14.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.146e-05/0.6009, allocations: 37.17 kB / 0.5615 GB, free: 14.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.047e-05/0.601, allocations: 62.73 kB / 0.5616 GB, free: 14.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.356e-05/0.6011, allocations: 48.88 kB / 0.5616 GB, free: 14.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.6011, allocations: 0 / 0.5616 GB, free: 14.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002235/0.6013, allocations: 163 kB / 0.5618 GB, free: 14.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.6013, allocations: 8 kB / 0.5618 GB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.6013, allocations: 4 kB / 0.5618 GB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.6014, allocations: 0 / 0.5618 GB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.6015, allocations: 35.97 kB / 0.5618 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.6015, allocations: 0 / 0.5618 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.329e-05/0.6016, allocations: 7.906 kB / 0.5618 GB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.6017, allocations: 11.44 kB / 0.5618 GB, free: 14.32 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 9.772e-05/0.6018, allocations: 112.9 kB / 0.5619 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002417/0.602, allocations: 176.6 kB / 0.5621 GB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.6021, allocations: 27.62 kB / 0.5621 GB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003356/0.6024, allocations: 197.3 kB / 0.5623 GB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.6024, allocations: 3.938 kB / 0.5623 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.6024, allocations: 7.984 kB / 0.5623 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.6024, allocations: 0 / 0.5623 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007057/0.6032, allocations: 0.6422 MB / 0.5629 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.6032, allocations: 0 / 0.5629 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.296e-05/0.6033, allocations: 24.3 kB / 0.563 GB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.6033, allocations: 7.938 kB / 0.563 GB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.6033, allocations: 8 kB / 0.563 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.6033, allocations: 3.984 kB / 0.563 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.6033, allocations: 0 / 0.563 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000382/0.6037, allocations: 400.1 kB / 0.5634 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.6038, allocations: 123.5 kB / 0.5635 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.353e-05/0.6039, allocations: 7.953 kB / 0.5635 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.604, allocations: 4 kB / 0.5635 GB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.6041, allocations: 27.47 kB / 0.5635 GB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.6041, allocations: 4 kB / 0.5635 GB, free: 12.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003185/0.6044, allocations: 303.1 kB / 0.5638 GB, free: 12.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6045, allocations: 0 / 0.5638 GB, free: 12.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00038/0.6048, allocations: 51.84 kB / 0.5639 GB, free: 12.37 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001729/0.6066, allocations: 1.422 MB / 0.5653 GB, free: 11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002126/0.6068, allocations: 103.6 kB / 0.5654 GB, free: 10.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.6068, allocations: 0 / 0.5654 GB, free: 10.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.443e-05/0.6069, allocations: 59.69 kB / 0.5654 GB, free: 10.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000472/0.6074, allocations: 53.83 kB / 0.5655 GB, free: 10.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009172/0.6083, allocations: 489.2 kB / 0.5659 GB, free: 10.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.6087, allocations: 0.7705 MB / 0.5667 GB, free: 9.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001331/0.6088, allocations: 45.64 kB / 0.5667 GB, free: 9.527 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.6089, allocations: 84.59 kB / 0.5668 GB, free: 9.496 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6089, allocations: 0 / 0.5668 GB, free: 9.496 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02356/0.6325, allocations: 5.106 MB / 0.5718 GB, free: 4.398 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/0.6327, allocations: 165 kB / 0.572 GB, free: 4.203 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/2.571, allocations: 0 / 0.572 GB, free: 4.203 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat does not exist to compare? outputFormat=mat