Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test37",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.003291/0.003291, allocations: 180.3 kB / 8.365 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.198/2.198, allocations: 205.3 MB / 214.1 MB, free: 14.07 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 86.36 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3022/0.3022, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.005e-05/3.021e-05, allocations: 8.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.4276, allocations: 58.86 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1771/0.6048, allocations: 86.79 MB / 0.5508 GB, free: 12.42 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.6052, allocations: 79.89 kB / 0.5508 GB, free: 12.34 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02389/0.6291, allocations: 5.169 MB / 0.5559 GB, free: 7.176 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.6291, allocations: 4 kB / 0.5559 GB, free: 7.172 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.176e-05/0.6292, allocations: 4.484 kB / 0.5559 GB, free: 7.168 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006106/0.6298, allocations: 386.9 kB / 0.5563 GB, free: 6.746 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/0.6299, allocations: 12.03 kB / 0.5563 GB, free: 6.734 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.849e-05/0.6299, allocations: 7.906 kB / 0.5563 GB, free: 6.727 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/0.6304, allocations: 221.6 kB / 0.5565 GB, free: 6.473 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.6304, allocations: 0 / 0.5565 GB, free: 6.473 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.6305, allocations: 3.938 kB / 0.5565 GB, free: 6.469 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.138e-05/0.6306, allocations: 16 kB / 0.5565 GB, free: 6.453 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.6307, allocations: 49.67 kB / 0.5566 GB, free: 6.398 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.6307, allocations: 0 / 0.5566 GB, free: 6.398 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.6307, allocations: 3.938 kB / 0.5566 GB, free: 6.395 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.6308, allocations: 0 / 0.5566 GB, free: 6.395 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002793/0.631, allocations: 162.2 kB / 0.5567 GB, free: 6.199 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.6312, allocations: 46.62 kB / 0.5568 GB, free: 6.145 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.023e-05/0.6313, allocations: 20.86 kB / 0.5568 GB, free: 6.121 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.6313, allocations: 3.938 kB / 0.5568 GB, free: 6.117 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/0.6315, allocations: 63.48 kB / 0.5569 GB, free: 6.043 MB / 395.1 MB Notification: Performance of pre-optimization done (n=5): time 2.294e-06/0.6315, allocations: 0 / 0.5569 GB, free: 6.043 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002694/0.6318, allocations: 69.59 kB / 0.5569 GB, free: 5.969 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.6319, allocations: 59.39 kB / 0.557 GB, free: 5.898 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.6321, allocations: 162.9 kB / 0.5571 GB, free: 5.734 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.6321, allocations: 29.7 kB / 0.5572 GB, free: 5.699 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.139e-05/0.6322, allocations: 158.6 kB / 0.5573 GB, free: 5.543 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/0.6323, allocations: 19.75 kB / 0.5573 GB, free: 5.523 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-06/0.6323, allocations: 0 / 0.5573 GB, free: 5.523 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.6325, allocations: 318.8 kB / 0.5576 GB, free: 5.203 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.615e-05/0.6325, allocations: 12 kB / 0.5576 GB, free: 5.191 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.909e-05/0.6326, allocations: 29.66 kB / 0.5577 GB, free: 5.156 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.208e-05/0.6327, allocations: 19.98 kB / 0.5577 GB, free: 5.137 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6327, allocations: 0 / 0.5577 GB, free: 5.137 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001776/0.6329, allocations: 69.7 kB / 0.5578 GB, free: 5.062 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.6329, allocations: 4 kB / 0.5578 GB, free: 5.059 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.6329, allocations: 160 / 0.5578 GB, free: 5.059 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.6329, allocations: 4 kB / 0.5578 GB, free: 5.055 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.6331, allocations: 15.92 kB / 0.5578 GB, free: 5.039 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.6331, allocations: 3.984 kB / 0.5578 GB, free: 5.035 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.545e-05/0.6332, allocations: 7.984 kB / 0.5578 GB, free: 5.027 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.6332, allocations: 0 / 0.5578 GB, free: 5.027 MB / 395.1 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 (7): * Single equations (assignments): 7 * 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 9.938e-05/0.6333, allocations: 113 kB / 0.5579 GB, free: 4.91 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001856/0.6335, allocations: 77.45 kB / 0.558 GB, free: 4.828 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.6336, allocations: 11.91 kB / 0.558 GB, free: 4.816 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.6338, allocations: 90 kB / 0.5581 GB, free: 4.723 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.6338, allocations: 4 kB / 0.5581 GB, free: 4.719 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.6339, allocations: 0 / 0.5581 GB, free: 4.719 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.6339, allocations: 0 / 0.5581 GB, free: 4.719 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.6341, allocations: 170.2 kB / 0.5582 GB, free: 4.516 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.6341, allocations: 3.953 kB / 0.5582 GB, free: 4.512 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.031e-05/0.6342, allocations: 8 kB / 0.5582 GB, free: 4.504 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.6342, allocations: 0 / 0.5582 GB, free: 4.504 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.6342, allocations: 0 / 0.5582 GB, free: 4.504 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.952e-06/0.6342, allocations: 4 kB / 0.5583 GB, free: 4.5 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.6342, allocations: 0 / 0.5583 GB, free: 4.5 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.6345, allocations: 108.9 kB / 0.5584 GB, free: 4.375 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.937e-05/0.6346, allocations: 97.12 kB / 0.5584 GB, free: 4.262 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.6346, allocations: 7.984 kB / 0.5585 GB, free: 4.254 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.286e-05/0.6347, allocations: 8 kB / 0.5585 GB, free: 4.246 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.6348, allocations: 4 kB / 0.5585 GB, free: 4.242 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.6348, allocations: 0 / 0.5585 GB, free: 4.242 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001738/0.635, allocations: 143.4 kB / 0.5586 GB, free: 4.102 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.635, allocations: 0 / 0.5586 GB, free: 4.102 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.00033/0.6353, allocations: 27.88 kB / 0.5586 GB, free: 4.074 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001489/0.6368, allocations: 0.8746 MB / 0.5595 GB, free: 3.215 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.637, allocations: 47.92 kB / 0.5595 GB, free: 3.168 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6371, allocations: 0 / 0.5595 GB, free: 3.168 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.654e-05/0.6371, allocations: 16 kB / 0.5595 GB, free: 3.152 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.6375, allocations: 31.33 kB / 0.5596 GB, free: 3.125 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006603/0.6382, allocations: 227.4 kB / 0.5598 GB, free: 2.859 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.6386, allocations: 0.7041 MB / 0.5605 GB, free: 2.129 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.433e-05/0.6387, allocations: 31.42 kB / 0.5605 GB, free: 2.098 MB / 395.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6387, allocations: 0 / 0.5605 GB, free: 2.098 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.671/3.309, allocations: 2.19 MB / 0.5626 GB, free: 15.91 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat does not exist to compare? outputFormat=mat