Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86",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.001024/0.001024, 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.614/1.614, allocations: 205.3 MB / 213.7 MB, free: 1.742 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.0008711/0.0008712, allocations: 90.16 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.1917/0.1917, allocations: 43.49 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.383e-05/2.385e-05, allocations: 11.98 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1141, allocations: 58.85 MB / 477.2 MB, free: 1.527 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3838/0.4979, allocations: 86.75 MB / 0.5508 GB, free: 8.109 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/0.4982, allocations: 77.34 kB / 0.5508 GB, free: 8.074 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01215/0.5103, allocations: 5.115 MB / 0.5558 GB, free: 4.023 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.5104, allocations: 0 / 0.5558 GB, free: 4.023 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.5104, allocations: 4 kB / 0.5558 GB, free: 4.02 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.000342/0.5107, allocations: 390.2 kB / 0.5562 GB, free: 3.602 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.5108, allocations: 8.031 kB / 0.5562 GB, free: 3.594 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.5108, allocations: 7.906 kB / 0.5562 GB, free: 3.586 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.5111, allocations: 226 kB / 0.5564 GB, free: 3.336 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.812e-05/0.5111, allocations: 4.75 kB / 0.5564 GB, free: 3.332 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.5112, allocations: 4 kB / 0.5564 GB, free: 3.328 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.287e-05/0.5112, allocations: 11.88 kB / 0.5564 GB, free: 3.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.867e-05/0.5113, allocations: 45.61 kB / 0.5565 GB, free: 3.273 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.5113, allocations: 0 / 0.5565 GB, free: 3.273 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.5113, allocations: 0 / 0.5565 GB, free: 3.273 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.5113, allocations: 4 kB / 0.5565 GB, free: 3.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/0.5115, allocations: 161.5 kB / 0.5566 GB, free: 3.086 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.944e-05/0.5116, allocations: 54.06 kB / 0.5567 GB, free: 3.031 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.934e-05/0.5116, allocations: 16.55 kB / 0.5567 GB, free: 3.016 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.5116, allocations: 0 / 0.5567 GB, free: 3.016 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.985e-05/0.5117, allocations: 63.36 kB / 0.5568 GB, free: 2.949 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.5118, allocations: 0 / 0.5568 GB, free: 2.949 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.00017/0.5119, allocations: 77.16 kB / 0.5569 GB, free: 2.879 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.512, allocations: 55.41 kB / 0.5569 GB, free: 2.812 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.5121, allocations: 167 kB / 0.5571 GB, free: 2.664 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.876e-06/0.5121, allocations: 29.64 kB / 0.5571 GB, free: 2.629 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.759e-05/0.5121, allocations: 99.39 kB / 0.5572 GB, free: 2.543 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.5122, allocations: 19.73 kB / 0.5572 GB, free: 2.523 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.5122, allocations: 3.938 kB / 0.5572 GB, free: 2.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.44e-05/0.5122, allocations: 326.5 kB / 0.5575 GB, free: 2.199 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.316e-05/0.5123, allocations: 11.94 kB / 0.5575 GB, free: 2.191 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.976e-05/0.5123, allocations: 29.64 kB / 0.5576 GB, free: 2.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.813e-05/0.5123, allocations: 15.8 kB / 0.5576 GB, free: 2.148 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5123, allocations: 0 / 0.5576 GB, free: 2.148 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.971e-05/0.5124, allocations: 80.92 kB / 0.5577 GB, free: 2.074 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.5125, allocations: 4 kB / 0.5577 GB, free: 2.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5125, allocations: 0 / 0.5577 GB, free: 2.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.5125, allocations: 0 / 0.5577 GB, free: 2.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.355e-05/0.5126, allocations: 8 kB / 0.5577 GB, free: 2.062 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.5126, allocations: 8.031 kB / 0.5577 GB, free: 2.055 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.194e-05/0.5126, allocations: 3.984 kB / 0.5577 GB, free: 2.051 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.5126, allocations: 4 kB / 0.5577 GB, free: 2.047 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.175e-05/0.5127, allocations: 105 kB / 0.5578 GB, free: 1.938 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.992e-05/0.5128, allocations: 85.14 kB / 0.5579 GB, free: 1.859 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.5128, allocations: 7.906 kB / 0.5579 GB, free: 1.852 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.5129, allocations: 93.61 kB / 0.558 GB, free: 1.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.5129, allocations: 4 kB / 0.558 GB, free: 1.766 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.513, allocations: 4 kB / 0.558 GB, free: 1.762 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.513, allocations: 4 kB / 0.558 GB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.108e-05/0.5131, allocations: 165.2 kB / 0.5581 GB, free: 1.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5131, allocations: 3.953 kB / 0.5581 GB, free: 1.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.558e-05/0.5131, allocations: 8 kB / 0.5581 GB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.5131, allocations: 0 / 0.5581 GB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.5131, allocations: 0 / 0.5581 GB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5131, allocations: 0 / 0.5581 GB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5131, allocations: 0 / 0.5581 GB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.5132, allocations: 116.5 kB / 0.5582 GB, free: 1.445 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.353e-05/0.5133, allocations: 92.88 kB / 0.5583 GB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.5133, allocations: 3.984 kB / 0.5583 GB, free: 1.332 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.112e-05/0.5134, allocations: 7.938 kB / 0.5583 GB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/0.5134, allocations: 0 / 0.5583 GB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.5134, allocations: 4 kB / 0.5584 GB, free: 1.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.106e-05/0.5135, allocations: 134.2 kB / 0.5585 GB, free: 1.207 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.62e-07/0.5135, allocations: 0 / 0.5585 GB, free: 1.207 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002002/0.5137, allocations: 31.5 kB / 0.5585 GB, free: 1.18 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: 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.0008396/0.5145, allocations: 0.8838 MB / 0.5594 GB, free: 344 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.968e-05/0.5146, allocations: 39.61 kB / 0.5594 GB, free: 316 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5147, allocations: 4.062 kB / 0.5594 GB, free: 312 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.427e-05/0.5147, allocations: 19.81 kB / 0.5594 GB, free: 296 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.5149, allocations: 23.67 kB / 0.5595 GB, free: 276 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003804/0.5153, allocations: 189.4 kB / 0.5596 GB, free: 60 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.5156, allocations: 0.7077 MB / 0.5603 GB, free: 15.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.787e-05/0.5157, allocations: 12.44 kB / 0.5603 GB, free: 15.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.384e-05/0.5157, allocations: 34.73 kB / 0.5604 GB, free: 15.3 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5157, allocations: 0 / 0.5604 GB, free: 15.3 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0215/0.5373, allocations: 2.363 MB / 0.5627 GB, free: 12.95 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/0.5375, allocations: 166.4 kB / 0.5628 GB, free: 12.75 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/2.09, allocations: 0 / 0.5628 GB, free: 12.75 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat does not exist to compare? outputFormat=mat