Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54",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.001073/0.001073, allocations: 177.2 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.668/1.668, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.0008199/0.0008198, allocations: 86.62 kB / 261.7 MB, free: 1.676 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.194/0.194, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.325e-05/2.346e-05, allocations: 4 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1148, allocations: 58.87 MB / 477.2 MB, free: 1.52 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3948/0.5096, allocations: 86.96 MB / 0.551 GB, free: 7.645 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.5099, allocations: 74.69 kB / 0.551 GB, free: 7.609 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01331/0.5232, allocations: 5.5 MB / 0.5564 GB, free: 3.242 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5233, allocations: 4 kB / 0.5564 GB, free: 3.238 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.5233, allocations: 3.938 kB / 0.5564 GB, free: 3.234 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003606/0.5237, allocations: 408.7 kB / 0.5568 GB, free: 2.797 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.5237, allocations: 8.031 kB / 0.5568 GB, free: 2.789 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.5238, allocations: 14.94 kB / 0.5568 GB, free: 2.777 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.524, allocations: 221.1 kB / 0.557 GB, free: 2.531 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.524, allocations: 4 kB / 0.557 GB, free: 2.527 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.5241, allocations: 0 / 0.557 GB, free: 2.527 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.015e-05/0.5241, allocations: 22.67 kB / 0.5571 GB, free: 2.512 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.449e-05/0.5242, allocations: 53.38 kB / 0.5571 GB, free: 2.457 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.5243, allocations: 3.984 kB / 0.5571 GB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.5243, allocations: 0 / 0.5571 GB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.5243, allocations: 0 / 0.5571 GB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002875/0.5246, allocations: 278.4 kB / 0.5574 GB, free: 2.164 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.444e-05/0.5247, allocations: 49.12 kB / 0.5574 GB, free: 2.117 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.716e-05/0.5247, allocations: 24.61 kB / 0.5575 GB, free: 2.098 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.5247, allocations: 7.938 kB / 0.5575 GB, free: 2.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001087/0.5249, allocations: 61.27 kB / 0.5575 GB, free: 2.023 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.5249, allocations: 0 / 0.5575 GB, free: 2.023 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003913/0.5253, allocations: 149.9 kB / 0.5577 GB, free: 1.898 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.5253, allocations: 55.34 kB / 0.5577 GB, free: 1.832 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.5255, allocations: 205.8 kB / 0.5579 GB, free: 1.645 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.5255, allocations: 33.69 kB / 0.5579 GB, free: 1.605 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.5255, allocations: 105.9 kB / 0.558 GB, free: 1.516 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.5256, allocations: 26.89 kB / 0.5581 GB, free: 1.492 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-06/0.5256, allocations: 0 / 0.5581 GB, free: 1.492 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.219e-05/0.5257, allocations: 326 kB / 0.5584 GB, free: 1.172 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.089e-05/0.5257, allocations: 15.62 kB / 0.5584 GB, free: 1.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.716e-05/0.5257, allocations: 36.52 kB / 0.5584 GB, free: 1.129 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.934e-05/0.5258, allocations: 22.94 kB / 0.5584 GB, free: 1.113 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.5258, allocations: 0 / 0.5584 GB, free: 1.113 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001151/0.5259, allocations: 92.33 kB / 0.5585 GB, free: 1.027 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.5259, allocations: 8 kB / 0.5585 GB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.5259, allocations: 0 / 0.5585 GB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.526, allocations: 0 / 0.5585 GB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.331e-05/0.526, allocations: 15.88 kB / 0.5586 GB, free: 1.008 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.5261, allocations: 4 kB / 0.5586 GB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.629e-05/0.5261, allocations: 7.984 kB / 0.5586 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.5261, allocations: 11.98 kB / 0.5586 GB, free: 0.9844 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 (10): * Single equations (assignments): 10 * 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 4.86e-05/0.5262, allocations: 110.3 kB / 0.5587 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001104/0.5263, allocations: 99.17 kB / 0.5588 GB, free: 0.7852 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.5263, allocations: 15.81 kB / 0.5588 GB, free: 0.7695 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/0.5265, allocations: 111.8 kB / 0.5589 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.5265, allocations: 0 / 0.5589 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.5265, allocations: 3.953 kB / 0.5589 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.5265, allocations: 0 / 0.5589 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.5268, allocations: 389.2 kB / 0.5593 GB, free: 292 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.5268, allocations: 0 / 0.5593 GB, free: 292 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.635e-05/0.5269, allocations: 8 kB / 0.5593 GB, free: 284 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.5269, allocations: 0 / 0.5593 GB, free: 284 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.5269, allocations: 7.984 kB / 0.5593 GB, free: 276 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.5269, allocations: 3.953 kB / 0.5593 GB, free: 272 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.5269, allocations: 0 / 0.5593 GB, free: 272 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.5271, allocations: 221.9 kB / 0.5595 GB, free: 44 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.075e-05/0.5271, allocations: 89.02 kB / 0.5596 GB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.5272, allocations: 15.38 kB / 0.5596 GB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.443e-05/0.5273, allocations: 3.938 kB / 0.5596 GB, free: 15.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.5273, allocations: 7.984 kB / 0.5596 GB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.188e-06/0.5273, allocations: 4 kB / 0.5596 GB, free: 15.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001278/0.5274, allocations: 163.1 kB / 0.5598 GB, free: 15.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5275, allocations: 0 / 0.5598 GB, free: 15.78 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002538/0.5277, allocations: 35.92 kB / 0.5598 GB, free: 15.74 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001207/0.5289, allocations: 1.105 MB / 0.5609 GB, free: 14.69 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.5291, allocations: 50.75 kB / 0.5609 GB, free: 14.65 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5291, allocations: 4.062 kB / 0.5609 GB, free: 14.65 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.058e-05/0.5291, allocations: 33.78 kB / 0.561 GB, free: 14.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.5294, allocations: 23.42 kB / 0.561 GB, free: 14.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005064/0.5299, allocations: 244.8 kB / 0.5612 GB, free: 14.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.5302, allocations: 0.7191 MB / 0.5619 GB, free: 13.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.841e-05/0.5302, allocations: 20.55 kB / 0.562 GB, free: 13.58 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.244e-05/0.5303, allocations: 39.17 kB / 0.562 GB, free: 13.56 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5303, allocations: 0 / 0.562 GB, free: 13.56 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/0.5521, allocations: 2.852 MB / 0.5648 GB, free: 10.72 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002809/0.5525, allocations: 166.4 kB / 0.5649 GB, free: 10.53 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.533/2.085, allocations: 0 / 0.5649 GB, free: 10.53 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat does not exist to compare? outputFormat=mat