Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15",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.001351/0.001351, allocations: 176.7 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.447/1.447, 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.0007593/0.0007596, allocations: 82.22 kB / 261.7 MB, free: 1.684 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.1983/0.1983, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.016e-05/2.018e-05, allocations: 8 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1159, allocations: 58.85 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3838/0.4997, allocations: 86.92 MB / 0.5509 GB, free: 7.684 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000199/0.5, allocations: 80.64 kB / 0.551 GB, free: 7.645 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01266/0.5127, allocations: 5.189 MB / 0.5561 GB, free: 3.555 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5127, allocations: 4 kB / 0.5561 GB, free: 3.551 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.5127, allocations: 0 / 0.5561 GB, free: 3.551 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.0003558/0.5131, allocations: 401.1 kB / 0.5565 GB, free: 3.125 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.5131, allocations: 8.031 kB / 0.5565 GB, free: 3.117 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.5132, allocations: 7.906 kB / 0.5565 GB, free: 3.109 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.5134, allocations: 217.7 kB / 0.5567 GB, free: 2.863 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.5134, allocations: 0 / 0.5567 GB, free: 2.863 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.5135, allocations: 7.938 kB / 0.5567 GB, free: 2.855 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.804e-05/0.5135, allocations: 18.86 kB / 0.5567 GB, free: 2.844 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.726e-05/0.5136, allocations: 48.75 kB / 0.5567 GB, free: 2.797 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.5136, allocations: 3.984 kB / 0.5568 GB, free: 2.793 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.5137, allocations: 0 / 0.5568 GB, free: 2.793 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.596e-05/0.5137, allocations: 4 kB / 0.5568 GB, free: 2.789 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.514, allocations: 266.4 kB / 0.557 GB, free: 2.508 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.708e-05/0.5141, allocations: 57 kB / 0.5571 GB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.857e-05/0.5141, allocations: 16.23 kB / 0.5571 GB, free: 2.438 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.5141, allocations: 11.33 kB / 0.5571 GB, free: 2.434 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.665e-05/0.5143, allocations: 61.39 kB / 0.5571 GB, free: 2.367 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.5143, allocations: 3.938 kB / 0.5572 GB, free: 2.363 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003972/0.5147, allocations: 145 kB / 0.5573 GB, free: 2.238 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.5147, allocations: 55.41 kB / 0.5573 GB, free: 2.172 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.5148, allocations: 156.4 kB / 0.5575 GB, free: 2.031 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.5148, allocations: 29.64 kB / 0.5575 GB, free: 1.996 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.186e-05/0.5149, allocations: 101.2 kB / 0.5576 GB, free: 1.906 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.5149, allocations: 23.28 kB / 0.5576 GB, free: 1.887 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.5149, allocations: 0 / 0.5576 GB, free: 1.887 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.112e-05/0.515, allocations: 322.5 kB / 0.5579 GB, free: 1.566 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.915e-05/0.515, allocations: 18.94 kB / 0.558 GB, free: 1.555 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.624e-05/0.5151, allocations: 32.58 kB / 0.558 GB, free: 1.523 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.952e-05/0.5151, allocations: 22.94 kB / 0.558 GB, free: 1.508 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.5151, allocations: 0 / 0.558 GB, free: 1.508 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001222/0.5152, allocations: 93.39 kB / 0.5581 GB, free: 1.426 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.5153, allocations: 8 kB / 0.5581 GB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.5153, allocations: 0 / 0.5581 GB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.5153, allocations: 0 / 0.5581 GB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.625e-05/0.5154, allocations: 20.03 kB / 0.5581 GB, free: 1.398 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.5154, allocations: 3.984 kB / 0.5581 GB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.395e-05/0.5154, allocations: 192 / 0.5581 GB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.5155, allocations: 7.953 kB / 0.5581 GB, free: 1.387 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 5.085e-05/0.5155, allocations: 108.9 kB / 0.5582 GB, free: 1.273 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001122/0.5156, allocations: 101.2 kB / 0.5583 GB, free: 1.188 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.5157, allocations: 11.81 kB / 0.5584 GB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/0.5158, allocations: 107 kB / 0.5585 GB, free: 1.078 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.5158, allocations: 4 kB / 0.5585 GB, free: 1.074 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5158, allocations: 3.953 kB / 0.5585 GB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5158, allocations: 0 / 0.5585 GB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.5161, allocations: 369 kB / 0.5588 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5161, allocations: 4 kB / 0.5588 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.802e-05/0.5162, allocations: 8 kB / 0.5588 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.5162, allocations: 0 / 0.5588 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.5162, allocations: 7.984 kB / 0.5588 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.5162, allocations: 3.984 kB / 0.5588 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5162, allocations: 4 kB / 0.5588 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.5164, allocations: 216 kB / 0.5591 GB, free: 468 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.498e-05/0.5164, allocations: 88.95 kB / 0.5591 GB, free: 360 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.5164, allocations: 15.38 kB / 0.5591 GB, free: 348 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.096e-05/0.5165, allocations: 0 / 0.5591 GB, free: 348 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.5165, allocations: 8 kB / 0.5592 GB, free: 340 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.5166, allocations: 7.984 kB / 0.5592 GB, free: 332 kB / 362.7 MB Notification: Performance of sorting global known variables: time 6.488e-05/0.5166, allocations: 126 kB / 0.5593 GB, free: 224 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5166, allocations: 3.938 kB / 0.5593 GB, free: 220 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.000243/0.5169, allocations: 27.94 kB / 0.5593 GB, free: 192 kB / 362.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.001161/0.5181, allocations: 1.104 MB / 0.5604 GB, free: 15.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001253/0.5182, allocations: 56.19 kB / 0.5604 GB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5182, allocations: 0 / 0.5604 GB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.914e-05/0.5183, allocations: 26.98 kB / 0.5605 GB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.5185, allocations: 19.36 kB / 0.5605 GB, free: 15.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004841/0.519, allocations: 209.7 kB / 0.5607 GB, free: 14.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.5193, allocations: 0.7035 MB / 0.5614 GB, free: 14.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.947e-05/0.5194, allocations: 16.55 kB / 0.5614 GB, free: 14.08 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.264e-05/0.5194, allocations: 32.3 kB / 0.5614 GB, free: 14.06 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5194, allocations: 0 / 0.5614 GB, free: 14.06 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.5427, allocations: 2.586 MB / 0.564 GB, free: 11.48 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/0.543, allocations: 170.2 kB / 0.5641 GB, free: 11.29 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.497/2.04, allocations: 7.938 kB / 0.5641 GB, free: 11.28 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat does not exist to compare? outputFormat=mat