Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70",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.001037/0.001037, allocations: 177.1 kB / 8.005 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.669/1.669, 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.001005/0.001005, allocations: 94.28 kB / 261.8 MB, free: 1.688 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.1894/0.1894, allocations: 43.5 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.447e-05/2.505e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1128, allocations: 58.87 MB / 477.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3803/0.4931, allocations: 86.82 MB / 0.5508 GB, free: 7.766 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.4935, allocations: 74.94 kB / 0.5509 GB, free: 7.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01514/0.5086, allocations: 6.43 MB / 0.5572 GB, free: 2.523 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5087, allocations: 0 / 0.5572 GB, free: 2.523 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.511e-05/0.5087, allocations: 8.75 kB / 0.5572 GB, free: 2.516 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006381/0.5094, allocations: 0.6016 MB / 0.5578 GB, free: 1.898 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.5094, allocations: 8.031 kB / 0.5578 GB, free: 1.891 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.072e-05/0.5095, allocations: 55.34 kB / 0.5578 GB, free: 1.836 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006633/0.5102, allocations: 486.4 kB / 0.5583 GB, free: 1.375 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.5102, allocations: 0 / 0.5583 GB, free: 1.375 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.885e-05/0.5102, allocations: 4 kB / 0.5583 GB, free: 1.371 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.742e-05/0.5104, allocations: 27.48 kB / 0.5583 GB, free: 1.352 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.5105, allocations: 90.56 kB / 0.5584 GB, free: 1.262 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.5105, allocations: 0 / 0.5584 GB, free: 1.262 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.5105, allocations: 0 / 0.5584 GB, free: 1.262 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.5105, allocations: 4 kB / 0.5584 GB, free: 1.258 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000323/0.5109, allocations: 360.1 kB / 0.5588 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.511, allocations: 92.53 kB / 0.5588 GB, free: 0.832 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.022e-05/0.5111, allocations: 37.53 kB / 0.5589 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.5111, allocations: 4 kB / 0.5589 GB, free: 0.793 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001887/0.5113, allocations: 100.4 kB / 0.559 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.5113, allocations: 0 / 0.559 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003107/0.5116, allocations: 167.4 kB / 0.5591 GB, free: 0.543 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.5117, allocations: 77.11 kB / 0.5592 GB, free: 460 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.5127, allocations: 0.9072 MB / 0.5601 GB, free: 15.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.5127, allocations: 29.58 kB / 0.5601 GB, free: 15.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.5129, allocations: 223.8 kB / 0.5603 GB, free: 15.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.5129, allocations: 23.58 kB / 0.5604 GB, free: 15.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-06/0.5129, allocations: 4 kB / 0.5604 GB, free: 15.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.5131, allocations: 369.4 kB / 0.5607 GB, free: 15.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.528e-05/0.5131, allocations: 27.8 kB / 0.5607 GB, free: 15.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.649e-05/0.5132, allocations: 50.81 kB / 0.5608 GB, free: 15.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.684e-05/0.5133, allocations: 35.36 kB / 0.5608 GB, free: 15.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5133, allocations: 0 / 0.5608 GB, free: 15.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002193/0.5135, allocations: 152.2 kB / 0.561 GB, free: 14.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.5135, allocations: 15.11 kB / 0.561 GB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.5135, allocations: 256 / 0.561 GB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.5136, allocations: 3.984 kB / 0.561 GB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.5137, allocations: 28.06 kB / 0.561 GB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.5137, allocations: 3.984 kB / 0.561 GB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.5138, allocations: 15.84 kB / 0.561 GB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.5138, allocations: 4 kB / 0.561 GB, free: 14.93 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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001087/0.5139, allocations: 120.5 kB / 0.5612 GB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002437/0.5142, allocations: 160.2 kB / 0.5613 GB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.904e-05/0.5143, allocations: 55.34 kB / 0.5614 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003003/0.5146, allocations: 186.1 kB / 0.5615 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.5146, allocations: 0 / 0.5615 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.5146, allocations: 0 / 0.5615 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.5146, allocations: 7.938 kB / 0.5615 GB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003592/0.515, allocations: 372.1 kB / 0.5619 GB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.515, allocations: 0 / 0.5619 GB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.623e-05/0.5151, allocations: 11.94 kB / 0.5619 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.5151, allocations: 4 kB / 0.5619 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.5151, allocations: 0 / 0.5619 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.5151, allocations: 0 / 0.5619 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.5151, allocations: 4 kB / 0.5619 GB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00029/0.5154, allocations: 208.6 kB / 0.5621 GB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/0.5156, allocations: 197.5 kB / 0.5623 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.514e-05/0.5157, allocations: 15.42 kB / 0.5623 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.5158, allocations: 4 kB / 0.5623 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.5159, allocations: 11.98 kB / 0.5623 GB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.5159, allocations: 11.94 kB / 0.5624 GB, free: 13.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007477/0.5166, allocations: 0.7189 MB / 0.5631 GB, free: 13.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5166, allocations: 0 / 0.5631 GB, free: 13.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003112/0.517, allocations: 75.94 kB / 0.5631 GB, free: 13.05 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001262/0.5182, allocations: 1.059 MB / 0.5642 GB, free: 12.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000153/0.5184, allocations: 68.05 kB / 0.5642 GB, free: 11.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5184, allocations: 0 / 0.5642 GB, free: 11.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.369e-05/0.5185, allocations: 45.3 kB / 0.5643 GB, free: 11.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.5189, allocations: 71.78 kB / 0.5643 GB, free: 11.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.5202, allocations: 0.8974 MB / 0.5652 GB, free: 11.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/0.5207, allocations: 0.8484 MB / 0.566 GB, free: 10.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001478/0.5208, allocations: 89.14 kB / 0.5661 GB, free: 10.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.521, allocations: 155.3 kB / 0.5663 GB, free: 10.06 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.521, allocations: 4 kB / 0.5663 GB, free: 10.06 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02857/0.5496, allocations: 8.14 MB / 0.5742 GB, free: 1.93 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/0.5498, allocations: 160.9 kB / 0.5744 GB, free: 1.738 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.112/2.662, allocations: 0 / 0.5744 GB, free: 1.738 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat does not exist to compare? outputFormat=mat