Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76",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.000889/0.000889, 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.562/1.562, allocations: 205.3 MB / 213.7 MB, free: 1.727 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.0009278/0.0009278, allocations: 83.91 kB / 261.7 MB, free: 1.676 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.2171/0.2171, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.999e-05/2.995e-05, allocations: 8 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1294, allocations: 58.86 MB / 477.2 MB, free: 1.527 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4635/0.593, allocations: 86.95 MB / 0.5509 GB, free: 7.656 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.5933, allocations: 80.61 kB / 0.551 GB, free: 7.617 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01366/0.607, allocations: 5.769 MB / 0.5567 GB, free: 3.047 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.607, allocations: 0 / 0.5567 GB, free: 3.047 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.6071, allocations: 4 kB / 0.5567 GB, free: 3.043 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.0004566/0.6075, allocations: 406.3 kB / 0.557 GB, free: 2.613 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.6076, allocations: 12.03 kB / 0.5571 GB, free: 2.602 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.594e-05/0.6076, allocations: 11.81 kB / 0.5571 GB, free: 2.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.6079, allocations: 230.7 kB / 0.5573 GB, free: 2.336 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.6079, allocations: 3.938 kB / 0.5573 GB, free: 2.332 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.608, allocations: 4 kB / 0.5573 GB, free: 2.328 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001/0.6081, allocations: 43.66 kB / 0.5573 GB, free: 2.293 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.962e-05/0.6082, allocations: 69.09 kB / 0.5574 GB, free: 2.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.6082, allocations: 0 / 0.5574 GB, free: 2.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.6082, allocations: 0 / 0.5574 GB, free: 2.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.6082, allocations: 0 / 0.5574 GB, free: 2.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.6086, allocations: 298.7 kB / 0.5577 GB, free: 1.926 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.6087, allocations: 79.48 kB / 0.5578 GB, free: 1.859 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.405e-05/0.6088, allocations: 27.05 kB / 0.5578 GB, free: 1.836 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.6088, allocations: 0 / 0.5578 GB, free: 1.836 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001303/0.6089, allocations: 80.77 kB / 0.5579 GB, free: 1.758 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.6089, allocations: 4 kB / 0.5579 GB, free: 1.754 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004937/0.6094, allocations: 197.4 kB / 0.5581 GB, free: 1.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.6095, allocations: 51.41 kB / 0.5581 GB, free: 1.527 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.6096, allocations: 174.5 kB / 0.5583 GB, free: 1.367 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.6096, allocations: 25.7 kB / 0.5583 GB, free: 1.336 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.893e-05/0.6097, allocations: 107.6 kB / 0.5584 GB, free: 1.238 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.6097, allocations: 31.23 kB / 0.5584 GB, free: 1.211 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-06/0.6097, allocations: 0 / 0.5584 GB, free: 1.211 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.376e-05/0.6098, allocations: 326.7 kB / 0.5587 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.181e-05/0.6098, allocations: 30.5 kB / 0.5588 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.918e-05/0.6099, allocations: 47.83 kB / 0.5588 GB, free: 0.8281 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.972e-05/0.6099, allocations: 35.45 kB / 0.5589 GB, free: 0.8047 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.61, allocations: 0 / 0.5589 GB, free: 0.8047 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001546/0.6101, allocations: 122.7 kB / 0.559 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.6101, allocations: 8 kB / 0.559 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.6101, allocations: 0 / 0.559 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.6102, allocations: 8 kB / 0.559 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.775e-05/0.6103, allocations: 20 kB / 0.559 GB, free: 0.6641 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.6103, allocations: 0 / 0.559 GB, free: 0.6641 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.494e-05/0.6103, allocations: 7.984 kB / 0.559 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.6104, allocations: 11.33 kB / 0.559 GB, free: 0.6484 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 (12): * Single equations (assignments): 12 * 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.926e-05/0.6104, allocations: 108.9 kB / 0.5591 GB, free: 0.5352 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001406/0.6106, allocations: 112.1 kB / 0.5592 GB, free: 448 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.676e-05/0.6106, allocations: 15.75 kB / 0.5593 GB, free: 432 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002278/0.6108, allocations: 152.6 kB / 0.5594 GB, free: 304 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.6108, allocations: 0 / 0.5594 GB, free: 304 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.6108, allocations: 7.953 kB / 0.5594 GB, free: 296 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.6109, allocations: 0 / 0.5594 GB, free: 296 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004315/0.6113, allocations: 429.1 kB / 0.5598 GB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.6113, allocations: 4 kB / 0.5598 GB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.062e-05/0.6114, allocations: 15.98 kB / 0.5598 GB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.6114, allocations: 0 / 0.5598 GB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.6114, allocations: 8.031 kB / 0.5598 GB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.6114, allocations: 3.953 kB / 0.5598 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.6114, allocations: 0 / 0.5598 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.6117, allocations: 250.1 kB / 0.5601 GB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.086e-05/0.6118, allocations: 92.91 kB / 0.5602 GB, free: 15.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/0.6118, allocations: 11.33 kB / 0.5602 GB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.573e-05/0.6119, allocations: 8 kB / 0.5602 GB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.6119, allocations: 11.98 kB / 0.5602 GB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.612, allocations: 7.984 kB / 0.5602 GB, free: 15.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001172/0.6121, allocations: 133.2 kB / 0.5603 GB, free: 15.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6121, allocations: 0 / 0.5603 GB, free: 15.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002594/0.6124, allocations: 43.05 kB / 0.5604 GB, free: 15.31 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 (13): * Single equations (assignments): 11 * 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.001356/0.6137, allocations: 1.14 MB / 0.5615 GB, free: 14.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001752/0.6139, allocations: 84.3 kB / 0.5616 GB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6139, allocations: 0 / 0.5616 GB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.888e-05/0.614, allocations: 45.36 kB / 0.5616 GB, free: 14.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.6143, allocations: 22.8 kB / 0.5616 GB, free: 14.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005496/0.6148, allocations: 244.3 kB / 0.5619 GB, free: 13.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.6152, allocations: 0.7196 MB / 0.5626 GB, free: 13.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.682e-05/0.6152, allocations: 20.75 kB / 0.5626 GB, free: 13.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.421e-05/0.6153, allocations: 44.11 kB / 0.5626 GB, free: 13.07 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.6153, allocations: 0 / 0.5626 GB, free: 13.07 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02439/0.6397, allocations: 2.99 MB / 0.5656 GB, free: 10.09 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002389/0.64, allocations: 162.5 kB / 0.5657 GB, free: 9.902 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/2.23, allocations: 7.938 kB / 0.5657 GB, free: 9.895 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat does not exist to compare? outputFormat=mat