Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48",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.001445/0.001445, allocations: 184.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.842/1.842, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009046/0.0009048, allocations: 90.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2422/0.2422, allocations: 43.56 MB / 362.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004586/0.0004588, allocations: 12 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1554, allocations: 58.86 MB / 490.4 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4494/0.6049, allocations: 87.72 MB / 0.5645 GB, free: 12.04 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.6052, allocations: 76.95 kB / 0.5646 GB, free: 12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01565/0.6209, allocations: 5.694 MB / 0.5702 GB, free: 7.172 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6209, allocations: 0 / 0.5702 GB, free: 7.172 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.6209, allocations: 4 kB / 0.5702 GB, free: 7.168 MB / 378.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.0006751/0.6216, allocations: 454.1 kB / 0.5706 GB, free: 6.688 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.6217, allocations: 8.031 kB / 0.5706 GB, free: 6.68 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.572e-05/0.6217, allocations: 34.56 kB / 0.5706 GB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.6218, allocations: 15.81 kB / 0.5706 GB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.6221, allocations: 240.4 kB / 0.5709 GB, free: 6.355 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.6222, allocations: 0 / 0.5709 GB, free: 6.355 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.6222, allocations: 7.375 kB / 0.5709 GB, free: 6.352 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.6223, allocations: 52.98 kB / 0.5709 GB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.6224, allocations: 0 / 0.5709 GB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.6224, allocations: 0 / 0.5709 GB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.6224, allocations: 3.938 kB / 0.5709 GB, free: 6.297 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.982e-05/0.6225, allocations: 19.67 kB / 0.571 GB, free: 6.281 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.6229, allocations: 314.3 kB / 0.5713 GB, free: 5.949 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.6231, allocations: 57.61 kB / 0.5713 GB, free: 5.895 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.6231, allocations: 7.938 kB / 0.5713 GB, free: 5.887 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.6233, allocations: 71.48 kB / 0.5714 GB, free: 5.812 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.6233, allocations: 0 / 0.5714 GB, free: 5.812 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006118/0.6239, allocations: 188.6 kB / 0.5716 GB, free: 5.656 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.624, allocations: 55.41 kB / 0.5716 GB, free: 5.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002803/0.6243, allocations: 230.3 kB / 0.5718 GB, free: 5.387 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.6243, allocations: 28.83 kB / 0.5719 GB, free: 5.355 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.635e-05/0.6244, allocations: 114.5 kB / 0.572 GB, free: 5.258 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.6245, allocations: 27.27 kB / 0.572 GB, free: 5.234 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/0.6245, allocations: 7.688 kB / 0.572 GB, free: 5.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.6247, allocations: 326 kB / 0.5723 GB, free: 4.906 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.707e-05/0.6247, allocations: 18.61 kB / 0.5723 GB, free: 4.895 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.331e-05/0.6248, allocations: 44.64 kB / 0.5724 GB, free: 4.855 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.271e-05/0.6249, allocations: 22.81 kB / 0.5724 GB, free: 4.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.6249, allocations: 0 / 0.5724 GB, free: 4.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002059/0.6251, allocations: 110.6 kB / 0.5725 GB, free: 4.746 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.6251, allocations: 10.69 kB / 0.5725 GB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.6251, allocations: 4 kB / 0.5725 GB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.6252, allocations: 0 / 0.5725 GB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.6253, allocations: 19.92 kB / 0.5725 GB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.6253, allocations: 3.953 kB / 0.5725 GB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.983e-05/0.6254, allocations: 4 kB / 0.5725 GB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.6254, allocations: 4 kB / 0.5726 GB, free: 4.703 MB / 378.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 () * Number of clocked 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 0.0001481/0.6255, allocations: 137.4 kB / 0.5727 GB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.6256, allocations: 19.25 kB / 0.5727 GB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002761/0.6259, allocations: 125.1 kB / 0.5728 GB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.6259, allocations: 0 / 0.5728 GB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.6259, allocations: 0 / 0.5728 GB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.6259, allocations: 3.953 kB / 0.5728 GB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000635/0.6265, allocations: 439 kB / 0.5732 GB, free: 4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6266, allocations: 0 / 0.5732 GB, free: 4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.089e-05/0.6266, allocations: 16.03 kB / 0.5733 GB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.6266, allocations: 4 kB / 0.5733 GB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.6266, allocations: 0 / 0.5733 GB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.6266, allocations: 7.891 kB / 0.5733 GB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.6266, allocations: 0 / 0.5733 GB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002965/0.6269, allocations: 228.7 kB / 0.5735 GB, free: 3.746 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.6271, allocations: 105 kB / 0.5736 GB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.6271, allocations: 7.953 kB / 0.5736 GB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.619e-05/0.6272, allocations: 4 kB / 0.5736 GB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.6272, allocations: 7.922 kB / 0.5736 GB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.6273, allocations: 11.88 kB / 0.5736 GB, free: 3.602 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001908/0.6275, allocations: 202.3 kB / 0.5738 GB, free: 3.438 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6275, allocations: 0 / 0.5738 GB, free: 3.438 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003037/0.6278, allocations: 35.88 kB / 0.5738 GB, free: 3.406 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) * Number of clocked states: 0 () * 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.001821/0.6296, allocations: 1.2 MB / 0.575 GB, free: 2.262 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002168/0.6298, allocations: 59.11 kB / 0.5751 GB, free: 2.219 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6299, allocations: 0 / 0.5751 GB, free: 2.219 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.163e-05/0.63, allocations: 35.72 kB / 0.5751 GB, free: 2.191 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.6303, allocations: 31.97 kB / 0.5751 GB, free: 2.168 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.632, allocations: 1.034 MB / 0.5761 GB, free: 1.172 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.6325, allocations: 0.7199 MB / 0.5769 GB, free: 436 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.295e-05/0.6326, allocations: 20.42 kB / 0.5769 GB, free: 416 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.559e-05/0.6327, allocations: 46.98 kB / 0.5769 GB, free: 388 kB / 378.7 MB Notification: Performance of SimCode: time 2.866e-06/0.6327, allocations: 112 / 0.5769 GB, free: 388 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.6486, allocations: 3.432 MB / 0.5803 GB, free: 12.96 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003279/0.649, allocations: 217.6 kB / 0.5805 GB, free: 12.71 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.584/2.233, allocations: 0 / 0.5805 GB, free: 12.71 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat does not exist to compare? outputFormat=mat