Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1",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.001536/0.001536, allocations: 182.1 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.762/1.762, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.0009829/0.0009831, allocations: 84.48 kB / 267 MB, free: 9.281 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.3974/0.3974, allocations: 43.47 MB / 358.6 MB, free: 52.31 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.836e-05/3.841e-05, allocations: 8 kB / 425.4 MB, free: 8.781 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1337, allocations: 58.84 MB / 484.3 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3962/0.53, allocations: 87.61 MB / 0.5585 GB, free: 1.344 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.5303, allocations: 82.23 kB / 0.5585 GB, free: 1.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01512/0.5455, allocations: 5.665 MB / 0.5641 GB, free: 11.65 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.5455, allocations: 0 / 0.5641 GB, free: 11.65 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.5455, allocations: 0 / 0.5641 GB, free: 11.65 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.0004943/0.546, allocations: 420.2 kB / 0.5645 GB, free: 11.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.5461, allocations: 12.03 kB / 0.5645 GB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.051e-05/0.5462, allocations: 34.56 kB / 0.5645 GB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.446e-05/0.5462, allocations: 19.25 kB / 0.5645 GB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.5466, allocations: 226.7 kB / 0.5648 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.5466, allocations: 0 / 0.5648 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.5466, allocations: 4 kB / 0.5648 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.5467, allocations: 53.67 kB / 0.5648 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.5468, allocations: 0 / 0.5648 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.5468, allocations: 5.375 kB / 0.5648 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.5468, allocations: 0 / 0.5648 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.001e-05/0.5469, allocations: 24.67 kB / 0.5648 GB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/0.5473, allocations: 308.8 kB / 0.5651 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.5474, allocations: 50.62 kB / 0.5652 GB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.251e-05/0.5475, allocations: 24.98 kB / 0.5652 GB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.5475, allocations: 4 kB / 0.5652 GB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.5477, allocations: 76.64 kB / 0.5653 GB, free: 10.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.5477, allocations: 0 / 0.5653 GB, free: 10.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004503/0.5481, allocations: 161.1 kB / 0.5654 GB, free: 10.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.5482, allocations: 51.41 kB / 0.5655 GB, free: 10.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.5484, allocations: 238.8 kB / 0.5657 GB, free: 9.781 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.5485, allocations: 29.69 kB / 0.5657 GB, free: 9.746 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.962e-05/0.5485, allocations: 120.1 kB / 0.5659 GB, free: 9.625 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.5486, allocations: 23.66 kB / 0.5659 GB, free: 9.602 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.5486, allocations: 0 / 0.5659 GB, free: 9.602 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.5487, allocations: 326.8 kB / 0.5662 GB, free: 9.273 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.656e-05/0.5488, allocations: 19.94 kB / 0.5662 GB, free: 9.254 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.005e-05/0.5488, allocations: 38.36 kB / 0.5662 GB, free: 9.211 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.594e-05/0.5489, allocations: 23.98 kB / 0.5663 GB, free: 9.188 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.5489, allocations: 4 kB / 0.5663 GB, free: 9.184 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001544/0.5491, allocations: 102.1 kB / 0.5664 GB, free: 9.078 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.5491, allocations: 4 kB / 0.5664 GB, free: 9.074 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.5491, allocations: 192 / 0.5664 GB, free: 9.074 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.78e-05/0.5491, allocations: 4 kB / 0.5664 GB, free: 9.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.271e-05/0.5492, allocations: 19.92 kB / 0.5664 GB, free: 9.051 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.5492, allocations: 3.953 kB / 0.5664 GB, free: 9.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.969e-05/0.5493, allocations: 8 kB / 0.5664 GB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.5493, allocations: 4 kB / 0.5664 GB, free: 9.035 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 7.081e-05/0.5494, allocations: 109.6 kB / 0.5665 GB, free: 8.922 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.5494, allocations: 19.75 kB / 0.5665 GB, free: 8.902 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.5496, allocations: 119.3 kB / 0.5667 GB, free: 8.785 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.5497, allocations: 0 / 0.5667 GB, free: 8.785 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.5497, allocations: 0 / 0.5667 GB, free: 8.785 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.5497, allocations: 15.86 kB / 0.5667 GB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004701/0.5502, allocations: 423.4 kB / 0.5671 GB, free: 8.297 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.5502, allocations: 8.031 kB / 0.5671 GB, free: 8.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.865e-05/0.5502, allocations: 11.94 kB / 0.5671 GB, free: 8.277 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.5502, allocations: 3.984 kB / 0.5671 GB, free: 8.273 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.5503, allocations: 7.953 kB / 0.5671 GB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5503, allocations: 0 / 0.5671 GB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5503, allocations: 0 / 0.5671 GB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.5505, allocations: 221.9 kB / 0.5673 GB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.405e-05/0.5506, allocations: 108.8 kB / 0.5674 GB, free: 7.898 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.5506, allocations: 3.953 kB / 0.5674 GB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.681e-05/0.5507, allocations: 4 kB / 0.5674 GB, free: 7.891 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.5508, allocations: 11.98 kB / 0.5674 GB, free: 7.879 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.5508, allocations: 4.188 kB / 0.5674 GB, free: 7.875 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001742/0.551, allocations: 197.5 kB / 0.5676 GB, free: 7.684 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.551, allocations: 0 / 0.5676 GB, free: 7.684 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002679/0.5512, allocations: 35.94 kB / 0.5677 GB, free: 7.648 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.001317/0.5526, allocations: 1.149 MB / 0.5688 GB, free: 6.543 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001341/0.5527, allocations: 52 kB / 0.5688 GB, free: 6.492 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5527, allocations: 4 kB / 0.5688 GB, free: 6.488 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.072e-05/0.5528, allocations: 39.91 kB / 0.5689 GB, free: 6.449 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.5531, allocations: 21 kB / 0.5689 GB, free: 6.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005877/0.5537, allocations: 293 kB / 0.5692 GB, free: 6.105 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.554, allocations: 0.7199 MB / 0.5699 GB, free: 5.359 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.856e-05/0.554, allocations: 24.84 kB / 0.5699 GB, free: 5.336 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.349e-05/0.5541, allocations: 39.42 kB / 0.5699 GB, free: 5.297 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5541, allocations: 0 / 0.5699 GB, free: 5.297 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01457/0.5687, allocations: 3.442 MB / 0.5733 GB, free: 1.891 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/0.5689, allocations: 182.6 kB / 0.5735 GB, free: 1.668 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/2.272, allocations: 0 / 0.5735 GB, free: 1.668 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat does not exist to compare? outputFormat=mat