Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28",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.001005/0.001004, allocations: 180.9 kB / 8.006 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.469/1.469, allocations: 205.3 MB / 213.7 MB, free: 1.672 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.0007965/0.0007964, allocations: 86.62 kB / 261.7 MB, free: 1.617 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.1813/0.1813, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.63e-05/1.632e-05, allocations: 4 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1014, allocations: 58.86 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3596/0.4611, allocations: 86.92 MB / 0.5509 GB, free: 7.965 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.4614, allocations: 79.42 kB / 0.551 GB, free: 7.926 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01234/0.4737, allocations: 5.238 MB / 0.5561 GB, free: 3.793 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4737, allocations: 0 / 0.5561 GB, free: 3.793 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.4738, allocations: 3.938 kB / 0.5561 GB, free: 3.789 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.0003073/0.4741, allocations: 395 kB / 0.5565 GB, free: 3.371 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.4741, allocations: 12.03 kB / 0.5565 GB, free: 3.359 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.4742, allocations: 11.91 kB / 0.5565 GB, free: 3.348 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.4744, allocations: 217.5 kB / 0.5567 GB, free: 3.102 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.4744, allocations: 0 / 0.5567 GB, free: 3.102 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.4744, allocations: 4 kB / 0.5567 GB, free: 3.098 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.252e-05/0.4745, allocations: 18.67 kB / 0.5567 GB, free: 3.086 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.741e-05/0.4746, allocations: 52.8 kB / 0.5568 GB, free: 3.035 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.4746, allocations: 3.938 kB / 0.5568 GB, free: 3.031 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.4746, allocations: 0 / 0.5568 GB, free: 3.031 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.4746, allocations: 4 kB / 0.5568 GB, free: 3.027 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002464/0.4749, allocations: 274 kB / 0.5571 GB, free: 2.742 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.008e-05/0.475, allocations: 48.94 kB / 0.5571 GB, free: 2.695 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.703e-05/0.475, allocations: 16.48 kB / 0.5571 GB, free: 2.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.475, allocations: 0 / 0.5571 GB, free: 2.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.172e-05/0.4751, allocations: 66.89 kB / 0.5572 GB, free: 2.609 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.4751, allocations: 0 / 0.5572 GB, free: 2.609 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003292/0.4754, allocations: 150 kB / 0.5573 GB, free: 2.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.43e-05/0.4755, allocations: 55.34 kB / 0.5574 GB, free: 2.414 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.4756, allocations: 173.1 kB / 0.5575 GB, free: 2.262 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.4756, allocations: 29.69 kB / 0.5576 GB, free: 2.227 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.562e-05/0.4756, allocations: 96.52 kB / 0.5577 GB, free: 2.141 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.4757, allocations: 25.83 kB / 0.5577 GB, free: 2.121 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/0.4757, allocations: 0 / 0.5577 GB, free: 2.121 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.286e-05/0.4757, allocations: 326.3 kB / 0.558 GB, free: 1.797 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.673e-05/0.4758, allocations: 13.69 kB / 0.558 GB, free: 1.789 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.394e-05/0.4758, allocations: 39.59 kB / 0.5581 GB, free: 1.754 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.586e-05/0.4758, allocations: 17.55 kB / 0.5581 GB, free: 1.742 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.4758, allocations: 0 / 0.5581 GB, free: 1.742 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001081/0.476, allocations: 93.77 kB / 0.5582 GB, free: 1.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.476, allocations: 4 kB / 0.5582 GB, free: 1.656 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.476, allocations: 0 / 0.5582 GB, free: 1.656 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.476, allocations: 8.031 kB / 0.5582 GB, free: 1.648 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.103e-05/0.4761, allocations: 23.48 kB / 0.5582 GB, free: 1.629 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-06/0.4761, allocations: 0 / 0.5582 GB, free: 1.629 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.454e-05/0.4761, allocations: 8 kB / 0.5582 GB, free: 1.621 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.4762, allocations: 3.953 kB / 0.5582 GB, free: 1.617 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.556e-05/0.4762, allocations: 110.4 kB / 0.5583 GB, free: 1.504 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000106/0.4763, allocations: 91.8 kB / 0.5584 GB, free: 1.422 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.4763, allocations: 19.8 kB / 0.5584 GB, free: 1.402 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/0.4765, allocations: 116 kB / 0.5585 GB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.4765, allocations: 96 / 0.5585 GB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.4765, allocations: 7.891 kB / 0.5585 GB, free: 1.293 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.4765, allocations: 0 / 0.5585 GB, free: 1.293 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/0.4768, allocations: 380.9 kB / 0.5589 GB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4768, allocations: 0 / 0.5589 GB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.727e-05/0.4768, allocations: 8 kB / 0.5589 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4769, allocations: 3.938 kB / 0.5589 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.4769, allocations: 12.02 kB / 0.5589 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.4769, allocations: 3.953 kB / 0.5589 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4769, allocations: 0 / 0.5589 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.477, allocations: 206.6 kB / 0.5591 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.072e-05/0.4771, allocations: 96.61 kB / 0.5592 GB, free: 0.5703 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.4771, allocations: 3.953 kB / 0.5592 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.105e-05/0.4772, allocations: 15.92 kB / 0.5592 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-05/0.4772, allocations: 4 kB / 0.5592 GB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.4772, allocations: 7.922 kB / 0.5592 GB, free: 0.543 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.841e-05/0.4773, allocations: 132.6 kB / 0.5594 GB, free: 440 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4773, allocations: 0 / 0.5594 GB, free: 440 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002371/0.4775, allocations: 31.8 kB / 0.5594 GB, free: 412 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.001019/0.4786, allocations: 1.091 MB / 0.5605 GB, free: 15.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001092/0.4787, allocations: 50.38 kB / 0.5605 GB, free: 15.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.4787, allocations: 4 kB / 0.5605 GB, free: 15.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.75e-05/0.4787, allocations: 30.86 kB / 0.5605 GB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.479, allocations: 19.8 kB / 0.5606 GB, free: 15.28 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004397/0.4794, allocations: 228.9 kB / 0.5608 GB, free: 15.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.4797, allocations: 0.7077 MB / 0.5615 GB, free: 14.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.553e-05/0.4797, allocations: 28.52 kB / 0.5615 GB, free: 14.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.783e-05/0.4798, allocations: 36.55 kB / 0.5615 GB, free: 14.25 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4798, allocations: 0 / 0.5615 GB, free: 14.25 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01966/0.4995, allocations: 2.641 MB / 0.5641 GB, free: 11.62 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/0.4997, allocations: 170.5 kB / 0.5643 GB, free: 11.42 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.491/1.991, allocations: 0 / 0.5643 GB, free: 11.42 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat does not exist to compare? outputFormat=mat