Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84",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.001108/0.001108, allocations: 177.6 kB / 8.004 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.634/1.634, 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.0008991/0.000899, allocations: 86.61 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.204/0.204, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.395e-05/2.394e-05, allocations: 8 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1146, allocations: 58.85 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.384/0.4986, allocations: 87.17 MB / 0.5512 GB, free: 7.492 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/0.4989, allocations: 79.92 kB / 0.5512 GB, free: 7.453 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01297/0.5119, allocations: 5.638 MB / 0.5567 GB, free: 3.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.5119, allocations: 4 kB / 0.5568 GB, free: 3.176 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.5119, allocations: 0 / 0.5568 GB, free: 3.176 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.0003496/0.5123, allocations: 389.6 kB / 0.5571 GB, free: 2.762 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.5123, allocations: 12.03 kB / 0.5571 GB, free: 2.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.133e-05/0.5124, allocations: 7.906 kB / 0.5571 GB, free: 2.742 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.5126, allocations: 213.6 kB / 0.5573 GB, free: 2.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.5126, allocations: 3.438 kB / 0.5573 GB, free: 2.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.5127, allocations: 4 kB / 0.5574 GB, free: 2.496 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.639e-05/0.5128, allocations: 18.98 kB / 0.5574 GB, free: 2.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.354e-05/0.5129, allocations: 70.02 kB / 0.5574 GB, free: 2.406 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.5129, allocations: 0 / 0.5574 GB, free: 2.406 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.5129, allocations: 0 / 0.5574 GB, free: 2.406 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.5129, allocations: 0 / 0.5574 GB, free: 2.406 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003023/0.5132, allocations: 268 kB / 0.5577 GB, free: 2.129 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.347e-05/0.5133, allocations: 52.81 kB / 0.5577 GB, free: 2.078 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.083e-05/0.5133, allocations: 19.48 kB / 0.5578 GB, free: 2.062 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.5134, allocations: 4 kB / 0.5578 GB, free: 2.059 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000107/0.5135, allocations: 65.95 kB / 0.5578 GB, free: 1.988 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.5135, allocations: 3.938 kB / 0.5578 GB, free: 1.984 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003825/0.5139, allocations: 143.9 kB / 0.558 GB, free: 1.859 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.5139, allocations: 77.11 kB / 0.558 GB, free: 1.766 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.514, allocations: 144.6 kB / 0.5582 GB, free: 1.637 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.5141, allocations: 25.7 kB / 0.5582 GB, free: 1.605 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.759e-05/0.5141, allocations: 94.33 kB / 0.5583 GB, free: 1.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.5141, allocations: 26.08 kB / 0.5583 GB, free: 1.496 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.5141, allocations: 4 kB / 0.5583 GB, free: 1.492 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.688e-05/0.5142, allocations: 322.1 kB / 0.5586 GB, free: 1.172 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.008e-05/0.5142, allocations: 15 kB / 0.5586 GB, free: 1.164 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.798e-05/0.5143, allocations: 36.45 kB / 0.5587 GB, free: 1.129 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.168e-05/0.5143, allocations: 22.98 kB / 0.5587 GB, free: 1.113 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.5143, allocations: 0 / 0.5587 GB, free: 1.113 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000119/0.5145, allocations: 90.73 kB / 0.5588 GB, free: 1.035 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.5145, allocations: 12.06 kB / 0.5588 GB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.5145, allocations: 0 / 0.5588 GB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.5145, allocations: 3.953 kB / 0.5588 GB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.249e-05/0.5146, allocations: 19.98 kB / 0.5588 GB, free: 1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.5146, allocations: 0 / 0.5588 GB, free: 1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.791e-05/0.5147, allocations: 0 / 0.5588 GB, free: 1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.5147, allocations: 7.938 kB / 0.5588 GB, free: 0.9922 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 7.114e-05/0.5148, allocations: 113.8 kB / 0.5589 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001172/0.5149, allocations: 85.44 kB / 0.559 GB, free: 0.8008 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.5149, allocations: 15.86 kB / 0.559 GB, free: 0.7852 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001829/0.5151, allocations: 116 kB / 0.5591 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.5151, allocations: 0 / 0.5591 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.5151, allocations: 0 / 0.5591 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.5152, allocations: 0 / 0.5591 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003204/0.5155, allocations: 372.3 kB / 0.5595 GB, free: 320 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.5155, allocations: 3.953 kB / 0.5595 GB, free: 316 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.806e-05/0.5155, allocations: 12.03 kB / 0.5595 GB, free: 304 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.5156, allocations: 4 kB / 0.5595 GB, free: 300 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.5156, allocations: 0 / 0.5595 GB, free: 300 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.5156, allocations: 192 / 0.5595 GB, free: 300 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.5156, allocations: 8 kB / 0.5595 GB, free: 292 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.5157, allocations: 218.1 kB / 0.5597 GB, free: 68 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.451e-05/0.5158, allocations: 93 kB / 0.5598 GB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.5159, allocations: 4 kB / 0.5598 GB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.171e-05/0.516, allocations: 7.984 kB / 0.5598 GB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.516, allocations: 3.375 kB / 0.5598 GB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.516, allocations: 4 kB / 0.5598 GB, free: 15.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001053/0.5161, allocations: 121.3 kB / 0.56 GB, free: 15.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5161, allocations: 0 / 0.56 GB, free: 15.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003079/0.5165, allocations: 39.42 kB / 0.56 GB, free: 15.8 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.001429/0.5179, allocations: 1.128 MB / 0.5611 GB, free: 14.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001366/0.518, allocations: 57.23 kB / 0.5612 GB, free: 14.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5181, allocations: 4.062 kB / 0.5612 GB, free: 14.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.79e-05/0.5181, allocations: 27.09 kB / 0.5612 GB, free: 14.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.5184, allocations: 26.98 kB / 0.5612 GB, free: 14.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004858/0.5189, allocations: 200.7 kB / 0.5614 GB, free: 14.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.5192, allocations: 0.7002 MB / 0.5621 GB, free: 13.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.369e-05/0.5192, allocations: 16.55 kB / 0.5621 GB, free: 13.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.077e-05/0.5193, allocations: 33.42 kB / 0.5621 GB, free: 13.64 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5193, allocations: 0 / 0.5621 GB, free: 13.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.5435, allocations: 2.758 MB / 0.5648 GB, free: 10.9 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002878/0.5438, allocations: 167.1 kB / 0.565 GB, free: 10.71 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.511/2.055, allocations: 0 / 0.565 GB, free: 10.71 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat does not exist to compare? outputFormat=mat