Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7",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.001117/0.001118, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.511/1.511, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0009231/0.0009229, allocations: 92.27 kB / 267.1 MB, free: 9.285 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.4247/0.4247, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.265e-05/4.276e-05, allocations: 4 kB / 425.4 MB, free: 8.086 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1378, allocations: 58.85 MB / 484.3 MB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4479/0.5858, allocations: 87.61 MB / 0.5585 GB, free: 16.42 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.5861, allocations: 70.73 kB / 0.5585 GB, free: 16.39 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01483/0.601, allocations: 5.626 MB / 0.564 GB, free: 13.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.601, allocations: 0 / 0.564 GB, free: 13.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.601, allocations: 7.281 kB / 0.564 GB, free: 13.17 MB / 394.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.000416/0.6015, allocations: 411.2 kB / 0.5644 GB, free: 12.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.6015, allocations: 12.03 kB / 0.5644 GB, free: 12.72 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.887e-05/0.6016, allocations: 37.92 kB / 0.5645 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.801e-05/0.6016, allocations: 15.25 kB / 0.5645 GB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002667/0.6019, allocations: 230 kB / 0.5647 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.6019, allocations: 3.25 kB / 0.5647 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.6019, allocations: 4 kB / 0.5647 GB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.6021, allocations: 51.5 kB / 0.5648 GB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.6021, allocations: 7.922 kB / 0.5648 GB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.6021, allocations: 3.938 kB / 0.5648 GB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.6021, allocations: 0 / 0.5648 GB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.865e-05/0.6022, allocations: 17.88 kB / 0.5648 GB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.6025, allocations: 303.8 kB / 0.5651 GB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.6027, allocations: 60.94 kB / 0.5651 GB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.569e-05/0.6027, allocations: 16.17 kB / 0.5652 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.6027, allocations: 0 / 0.5652 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001207/0.6029, allocations: 70.7 kB / 0.5652 GB, free: 11.86 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.6029, allocations: 0 / 0.5652 GB, free: 11.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004273/0.6033, allocations: 172.2 kB / 0.5654 GB, free: 11.71 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.6033, allocations: 55.41 kB / 0.5654 GB, free: 11.64 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.6035, allocations: 218.2 kB / 0.5657 GB, free: 11.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.6036, allocations: 25.7 kB / 0.5657 GB, free: 11.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.598e-05/0.6036, allocations: 111.2 kB / 0.5658 GB, free: 11.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.6036, allocations: 31.25 kB / 0.5658 GB, free: 11.31 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.6036, allocations: 0 / 0.5658 GB, free: 11.31 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.325e-05/0.6037, allocations: 325.6 kB / 0.5661 GB, free: 10.99 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.422e-05/0.6038, allocations: 18.75 kB / 0.5661 GB, free: 10.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.109e-05/0.6038, allocations: 42.2 kB / 0.5662 GB, free: 10.94 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.074e-05/0.6039, allocations: 22.75 kB / 0.5662 GB, free: 10.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.6039, allocations: 0 / 0.5662 GB, free: 10.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001284/0.604, allocations: 103.4 kB / 0.5663 GB, free: 10.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.604, allocations: 8 kB / 0.5663 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.604, allocations: 0 / 0.5663 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.604, allocations: 0 / 0.5663 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.88e-05/0.6041, allocations: 19.92 kB / 0.5663 GB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.6042, allocations: 7.953 kB / 0.5663 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.594e-05/0.6042, allocations: 4.031 kB / 0.5663 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.6042, allocations: 4 kB / 0.5663 GB, free: 10.79 MB / 394.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.341e-05/0.6043, allocations: 111 kB / 0.5665 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/0.6043, allocations: 11.81 kB / 0.5665 GB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001976/0.6045, allocations: 124 kB / 0.5666 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.6045, allocations: 0 / 0.5666 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.6045, allocations: 0 / 0.5666 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.6045, allocations: 3.953 kB / 0.5666 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003678/0.6049, allocations: 428.4 kB / 0.567 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.6049, allocations: 0 / 0.567 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.802e-05/0.605, allocations: 11.98 kB / 0.567 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.605, allocations: 0 / 0.567 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.605, allocations: 14.45 kB / 0.567 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.605, allocations: 0 / 0.567 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.605, allocations: 0 / 0.567 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.6052, allocations: 226.6 kB / 0.5672 GB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/0.6052, allocations: 100.2 kB / 0.5673 GB, free: 9.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.6053, allocations: 7.953 kB / 0.5673 GB, free: 9.762 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.505e-05/0.6054, allocations: 4 kB / 0.5673 GB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.6054, allocations: 14.67 kB / 0.5674 GB, free: 9.746 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.6054, allocations: 0 / 0.5674 GB, free: 9.746 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001303/0.6056, allocations: 188.2 kB / 0.5675 GB, free: 9.594 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6056, allocations: 0 / 0.5675 GB, free: 9.594 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00025/0.6058, allocations: 35.31 kB / 0.5676 GB, free: 9.562 MB / 394.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.001153/0.607, allocations: 1.142 MB / 0.5687 GB, free: 8.488 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001325/0.6071, allocations: 60.31 kB / 0.5687 GB, free: 8.445 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6071, allocations: 0 / 0.5687 GB, free: 8.445 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.993e-05/0.6072, allocations: 31.38 kB / 0.5688 GB, free: 8.422 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.6075, allocations: 28.67 kB / 0.5688 GB, free: 8.395 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005258/0.608, allocations: 271.3 kB / 0.5691 GB, free: 8.125 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.6082, allocations: 0.716 MB / 0.5698 GB, free: 7.383 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.551e-05/0.6082, allocations: 17.75 kB / 0.5698 GB, free: 7.367 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.984e-05/0.6083, allocations: 48.03 kB / 0.5698 GB, free: 7.34 MB / 394.7 MB Notification: Performance of SimCode: time 2.91e-07/0.6083, allocations: 0 / 0.5698 GB, free: 7.34 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01538/0.6237, allocations: 3.319 MB / 0.5731 GB, free: 4.059 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001612/0.6239, allocations: 190.5 kB / 0.5732 GB, free: 3.828 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/2.317, allocations: 0 / 0.5732 GB, free: 3.828 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat does not exist to compare? outputFormat=mat