Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46",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.0009503/0.0009504, 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.484/1.484, 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.0008534/0.0008534, allocations: 86.16 kB / 261.7 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.2161/0.2161, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.427e-05/2.429e-05, allocations: 8 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1363, allocations: 58.86 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4466/0.583, allocations: 86.95 MB / 0.551 GB, free: 7.711 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.5833, allocations: 69.88 kB / 0.551 GB, free: 7.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02005/0.6034, allocations: 5.643 MB / 0.5565 GB, free: 3.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6034, allocations: 4 kB / 0.5565 GB, free: 3.176 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.6035, allocations: 3.938 kB / 0.5565 GB, free: 3.172 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.0005164/0.604, allocations: 410.5 kB / 0.5569 GB, free: 2.734 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.6041, allocations: 15.97 kB / 0.5569 GB, free: 2.719 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.665e-05/0.6041, allocations: 11.91 kB / 0.557 GB, free: 2.707 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.6045, allocations: 226.2 kB / 0.5572 GB, free: 2.457 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.6045, allocations: 7.5 kB / 0.5572 GB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.6046, allocations: 0 / 0.5572 GB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.421e-05/0.6047, allocations: 19.8 kB / 0.5572 GB, free: 2.438 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.6048, allocations: 49.12 kB / 0.5572 GB, free: 2.391 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.6048, allocations: 0 / 0.5572 GB, free: 2.391 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.6048, allocations: 3.984 kB / 0.5572 GB, free: 2.387 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.6049, allocations: 0 / 0.5572 GB, free: 2.387 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004849/0.6053, allocations: 288.5 kB / 0.5575 GB, free: 2.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.6055, allocations: 46.5 kB / 0.5576 GB, free: 2.043 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.797e-05/0.6056, allocations: 25.09 kB / 0.5576 GB, free: 2.023 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.6056, allocations: 0 / 0.5576 GB, free: 2.023 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.6058, allocations: 63.25 kB / 0.5576 GB, free: 1.953 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.795e-06/0.6058, allocations: 4 kB / 0.5577 GB, free: 1.949 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005677/0.6064, allocations: 163.7 kB / 0.5578 GB, free: 1.812 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.6064, allocations: 55.34 kB / 0.5579 GB, free: 1.746 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.6067, allocations: 232.2 kB / 0.5581 GB, free: 1.547 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.6068, allocations: 29.7 kB / 0.5581 GB, free: 1.512 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.681e-05/0.6069, allocations: 111.3 kB / 0.5582 GB, free: 1.418 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.6069, allocations: 23.59 kB / 0.5582 GB, free: 1.398 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.6069, allocations: 0 / 0.5582 GB, free: 1.398 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.056e-05/0.607, allocations: 334.7 kB / 0.5586 GB, free: 1.066 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.136e-05/0.6071, allocations: 19.69 kB / 0.5586 GB, free: 1.055 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.348e-05/0.6072, allocations: 29.28 kB / 0.5586 GB, free: 1.027 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.896e-05/0.6072, allocations: 27.42 kB / 0.5586 GB, free: 1.008 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.6072, allocations: 0 / 0.5586 GB, free: 1.008 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001802/0.6074, allocations: 92.88 kB / 0.5587 GB, free: 0.9258 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.6075, allocations: 4 kB / 0.5587 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.6075, allocations: 4 kB / 0.5587 GB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.6075, allocations: 4.031 kB / 0.5587 GB, free: 0.9141 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.6076, allocations: 19.92 kB / 0.5588 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.6077, allocations: 0 / 0.5588 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.79e-05/0.6077, allocations: 4 kB / 0.5588 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.6078, allocations: 7.953 kB / 0.5588 GB, free: 0.8828 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.558e-05/0.6078, allocations: 105 kB / 0.5589 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001763/0.608, allocations: 104.5 kB / 0.559 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.6081, allocations: 15.81 kB / 0.559 GB, free: 0.668 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002457/0.6083, allocations: 110.6 kB / 0.5591 GB, free: 0.5742 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.6083, allocations: 4 kB / 0.5591 GB, free: 0.5703 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.6084, allocations: 3.953 kB / 0.5591 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.6084, allocations: 7.922 kB / 0.5591 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004516/0.6088, allocations: 393.9 kB / 0.5595 GB, free: 176 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.6089, allocations: 0 / 0.5595 GB, free: 176 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.705e-05/0.6089, allocations: 11.94 kB / 0.5595 GB, free: 164 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.6089, allocations: 4 kB / 0.5595 GB, free: 160 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.609, allocations: 4.031 kB / 0.5595 GB, free: 156 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.609, allocations: 3.953 kB / 0.5595 GB, free: 152 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.609, allocations: 0 / 0.5595 GB, free: 152 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.6093, allocations: 221.4 kB / 0.5597 GB, free: 15.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-05/0.6094, allocations: 100.8 kB / 0.5598 GB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.215e-05/0.6094, allocations: 11.77 kB / 0.5598 GB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.6096, allocations: 15.92 kB / 0.5598 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/0.6096, allocations: 4 kB / 0.5598 GB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.6097, allocations: 0 / 0.5598 GB, free: 15.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002478/0.6099, allocations: 190.7 kB / 0.56 GB, free: 15.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6099, allocations: 0 / 0.56 GB, free: 15.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004477/0.6104, allocations: 39.55 kB / 0.5601 GB, free: 15.59 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.001639/0.612, allocations: 1.104 MB / 0.5611 GB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000141/0.6122, allocations: 51.67 kB / 0.5612 GB, free: 14.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6122, allocations: 0 / 0.5612 GB, free: 14.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.206e-05/0.6123, allocations: 31.25 kB / 0.5612 GB, free: 14.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.6126, allocations: 23.55 kB / 0.5612 GB, free: 14.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006523/0.6133, allocations: 286.8 kB / 0.5615 GB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.6136, allocations: 0.7167 MB / 0.5622 GB, free: 13.42 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.755e-05/0.6137, allocations: 20.42 kB / 0.5622 GB, free: 13.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.965e-05/0.6137, allocations: 46.42 kB / 0.5623 GB, free: 13.38 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.6138, allocations: 0 / 0.5623 GB, free: 13.38 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.6377, allocations: 3.074 MB / 0.5653 GB, free: 10.32 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002353/0.638, allocations: 166.5 kB / 0.5654 GB, free: 10.12 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.577/2.215, allocations: 0 / 0.5654 GB, free: 10.12 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat does not exist to compare? outputFormat=mat