Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001628/0.001627, allocations: 186 kB / 16.4 MB, free: 5.746 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.993/1.993, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001138/0.001137, allocations: 101.8 kB / 270.9 MB, free: 8.375 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.5591/0.5591, allocations: 43.54 MB / 362.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004812/0.000481, allocations: 20 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1354, allocations: 58.86 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4905/0.626, allocations: 87.72 MB / 0.5645 GB, free: 14.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/0.6264, allocations: 75.97 kB / 0.5646 GB, free: 14.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02673/0.6531, allocations: 5.692 MB / 0.5701 GB, free: 9.082 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.6532, allocations: 4.547 kB / 0.5701 GB, free: 9.078 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.029e-05/0.6532, allocations: 4 kB / 0.5701 GB, free: 9.074 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.0008178/0.654, allocations: 450.1 kB / 0.5706 GB, free: 8.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.6541, allocations: 8.031 kB / 0.5706 GB, free: 8.582 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.315e-05/0.6542, allocations: 30.56 kB / 0.5706 GB, free: 8.543 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.762e-05/0.6542, allocations: 19.25 kB / 0.5706 GB, free: 8.527 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004675/0.6547, allocations: 228.9 kB / 0.5708 GB, free: 8.266 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.6548, allocations: 4 kB / 0.5708 GB, free: 8.262 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.6548, allocations: 7.984 kB / 0.5709 GB, free: 8.254 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.655, allocations: 61.61 kB / 0.5709 GB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.6551, allocations: 3.938 kB / 0.5709 GB, free: 8.188 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.6551, allocations: 0 / 0.5709 GB, free: 8.188 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.6551, allocations: 4.969 kB / 0.5709 GB, free: 8.184 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.6552, allocations: 19.98 kB / 0.5709 GB, free: 8.164 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005868/0.6558, allocations: 308.8 kB / 0.5712 GB, free: 7.812 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.6561, allocations: 62.62 kB / 0.5713 GB, free: 7.742 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.6561, allocations: 7.984 kB / 0.5713 GB, free: 7.734 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002227/0.6564, allocations: 67.5 kB / 0.5714 GB, free: 7.656 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.575e-06/0.6564, allocations: 0 / 0.5714 GB, free: 7.656 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008706/0.6573, allocations: 189 kB / 0.5715 GB, free: 7.465 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.6574, allocations: 61.94 kB / 0.5716 GB, free: 7.395 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000441/0.6578, allocations: 233.7 kB / 0.5718 GB, free: 7.156 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.6579, allocations: 29.7 kB / 0.5719 GB, free: 7.121 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.908e-05/0.658, allocations: 166.6 kB / 0.572 GB, free: 6.957 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.6581, allocations: 23.66 kB / 0.572 GB, free: 6.934 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.416e-05/0.6581, allocations: 4 kB / 0.572 GB, free: 6.93 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.6582, allocations: 314.8 kB / 0.5723 GB, free: 6.613 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.6584, allocations: 23.98 kB / 0.5724 GB, free: 6.59 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.6585, allocations: 41.7 kB / 0.5724 GB, free: 6.543 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.6586, allocations: 24.48 kB / 0.5724 GB, free: 6.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.6586, allocations: 0 / 0.5724 GB, free: 6.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003216/0.659, allocations: 101.7 kB / 0.5725 GB, free: 6.414 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.659, allocations: 4 kB / 0.5725 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.659, allocations: 0 / 0.5725 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.659, allocations: 0 / 0.5725 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.6592, allocations: 23.97 kB / 0.5725 GB, free: 6.387 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.6592, allocations: 3.953 kB / 0.5726 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.6593, allocations: 7.984 kB / 0.5726 GB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.6594, allocations: 4 kB / 0.5726 GB, free: 6.371 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 () * 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.0001837/0.6596, allocations: 133.8 kB / 0.5727 GB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.6596, allocations: 15.81 kB / 0.5727 GB, free: 6.215 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004319/0.6601, allocations: 128.1 kB / 0.5728 GB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.6601, allocations: 0 / 0.5728 GB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.862e-06/0.6601, allocations: 4 kB / 0.5728 GB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.6601, allocations: 3.953 kB / 0.5728 GB, free: 6.082 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000807/0.6609, allocations: 435.2 kB / 0.5733 GB, free: 5.598 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.661, allocations: 4.875 kB / 0.5733 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.48e-05/0.6611, allocations: 12.27 kB / 0.5733 GB, free: 5.582 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.6611, allocations: 3.938 kB / 0.5733 GB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.6611, allocations: 4 kB / 0.5733 GB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.433e-06/0.6611, allocations: 7.891 kB / 0.5733 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.6611, allocations: 7.969 kB / 0.5733 GB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003968/0.6615, allocations: 217.9 kB / 0.5735 GB, free: 5.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.6617, allocations: 101.3 kB / 0.5736 GB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.038e-05/0.6617, allocations: 11.89 kB / 0.5736 GB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.6619, allocations: 8 kB / 0.5736 GB, free: 5.184 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.662, allocations: 11.98 kB / 0.5736 GB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.662, allocations: 4 kB / 0.5736 GB, free: 5.168 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003185/0.6623, allocations: 200.2 kB / 0.5738 GB, free: 4.973 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6623, allocations: 0 / 0.5738 GB, free: 4.973 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003961/0.6627, allocations: 35.94 kB / 0.5739 GB, free: 4.938 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) * 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.002071/0.6648, allocations: 1.201 MB / 0.575 GB, free: 3.809 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003501/0.6652, allocations: 71.84 kB / 0.5751 GB, free: 3.738 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6652, allocations: 0 / 0.5751 GB, free: 3.738 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.6654, allocations: 35.92 kB / 0.5751 GB, free: 3.703 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.6658, allocations: 21.72 kB / 0.5752 GB, free: 3.684 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.6682, allocations: 1.066 MB / 0.5762 GB, free: 2.559 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.6686, allocations: 0.716 MB / 0.5769 GB, free: 1.816 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.6688, allocations: 43.53 kB / 0.5769 GB, free: 1.773 MB / 394.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6688, allocations: 3.938 kB / 0.5769 GB, free: 1.77 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.762/3.431, allocations: 2.856 MB / 0.5797 GB, free: 14.92 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat does not exist to compare? outputFormat=mat