Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test36",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.001501/0.001501, allocations: 186.9 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.019/2.019, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001175/0.001175, allocations: 97.22 kB / 270.9 MB, free: 8.391 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.5377/0.5377, allocations: 43.55 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005188/0.0005188, allocations: 12 kB / 431.5 MB, free: 6.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.148, allocations: 58.86 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4954/0.6434, allocations: 87.7 MB / 0.5645 GB, free: 14.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/0.6438, allocations: 71.97 kB / 0.5646 GB, free: 14.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03446/0.6782, allocations: 5.595 MB / 0.57 GB, free: 9.355 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.6783, allocations: 0.875 kB / 0.57 GB, free: 9.355 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.156e-05/0.6783, allocations: 0 / 0.57 GB, free: 9.355 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.000948/0.6793, allocations: 437.7 kB / 0.5704 GB, free: 8.883 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.482e-05/0.6794, allocations: 12.03 kB / 0.5705 GB, free: 8.871 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.652e-05/0.6795, allocations: 36.19 kB / 0.5705 GB, free: 8.828 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.851e-05/0.6795, allocations: 11.34 kB / 0.5705 GB, free: 8.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005535/0.6801, allocations: 230.7 kB / 0.5707 GB, free: 8.555 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.6802, allocations: 3.938 kB / 0.5707 GB, free: 8.551 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.418e-05/0.6802, allocations: 4 kB / 0.5707 GB, free: 8.547 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.6805, allocations: 53.67 kB / 0.5708 GB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.6805, allocations: 3.938 kB / 0.5708 GB, free: 8.484 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.6805, allocations: 0 / 0.5708 GB, free: 8.484 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.6806, allocations: 1.031 kB / 0.5708 GB, free: 8.484 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.6807, allocations: 19.98 kB / 0.5708 GB, free: 8.465 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006867/0.6814, allocations: 312.8 kB / 0.5711 GB, free: 8.109 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003903/0.6818, allocations: 64.14 kB / 0.5712 GB, free: 8.039 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.6819, allocations: 0 / 0.5712 GB, free: 8.039 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002587/0.6822, allocations: 63.52 kB / 0.5712 GB, free: 7.965 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.655e-06/0.6822, allocations: 0 / 0.5712 GB, free: 7.965 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.001056/0.6832, allocations: 193.1 kB / 0.5714 GB, free: 7.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.6833, allocations: 55.41 kB / 0.5715 GB, free: 7.703 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004575/0.6838, allocations: 197.8 kB / 0.5716 GB, free: 7.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.6838, allocations: 27.77 kB / 0.5717 GB, free: 7.469 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.684, allocations: 166.6 kB / 0.5718 GB, free: 7.305 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.903e-05/0.6841, allocations: 31.62 kB / 0.5719 GB, free: 7.273 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.32e-05/0.6841, allocations: 4 kB / 0.5719 GB, free: 7.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.6843, allocations: 314.8 kB / 0.5722 GB, free: 6.953 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.6844, allocations: 27.92 kB / 0.5722 GB, free: 6.926 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.6846, allocations: 37.7 kB / 0.5722 GB, free: 6.883 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.6848, allocations: 20 kB / 0.5722 GB, free: 6.863 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.6848, allocations: 0 / 0.5722 GB, free: 6.863 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004199/0.6852, allocations: 97.61 kB / 0.5723 GB, free: 6.762 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.6853, allocations: 4 kB / 0.5723 GB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.6853, allocations: 4.031 kB / 0.5723 GB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.6853, allocations: 0 / 0.5723 GB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.6855, allocations: 19.98 kB / 0.5724 GB, free: 6.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/0.6856, allocations: 3.953 kB / 0.5724 GB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.6857, allocations: 7.906 kB / 0.5724 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.6857, allocations: 5.594 kB / 0.5724 GB, free: 6.719 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.0002174/0.686, allocations: 125.8 kB / 0.5725 GB, free: 6.586 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.333e-05/0.686, allocations: 11.91 kB / 0.5725 GB, free: 6.574 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005509/0.6866, allocations: 123 kB / 0.5726 GB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.6866, allocations: 0 / 0.5726 GB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.6867, allocations: 4 kB / 0.5726 GB, free: 6.449 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.6867, allocations: 3.953 kB / 0.5726 GB, free: 6.445 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.6877, allocations: 423.4 kB / 0.573 GB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.6877, allocations: 3.938 kB / 0.573 GB, free: 5.969 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.6878, allocations: 19.92 kB / 0.5731 GB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.6879, allocations: 0 / 0.5731 GB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.6879, allocations: 4.312 kB / 0.5731 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.071e-05/0.6879, allocations: 7.953 kB / 0.5731 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.6879, allocations: 80 / 0.5731 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005156/0.6885, allocations: 225.9 kB / 0.5733 GB, free: 5.691 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.6886, allocations: 96.91 kB / 0.5734 GB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.821e-05/0.6887, allocations: 7.953 kB / 0.5734 GB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.6889, allocations: 11.98 kB / 0.5734 GB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/0.689, allocations: 4 kB / 0.5734 GB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.689, allocations: 4 kB / 0.5734 GB, free: 5.551 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003395/0.6893, allocations: 174.4 kB / 0.5736 GB, free: 5.383 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6894, allocations: 0 / 0.5736 GB, free: 5.383 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006751/0.6901, allocations: 35.94 kB / 0.5736 GB, free: 5.348 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.003002/0.6931, allocations: 1.2 MB / 0.5748 GB, free: 4.223 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004679/0.6936, allocations: 63.91 kB / 0.5748 GB, free: 4.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.6936, allocations: 0 / 0.5748 GB, free: 4.16 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.6939, allocations: 39.86 kB / 0.5749 GB, free: 4.121 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005945/0.6945, allocations: 20.17 kB / 0.5749 GB, free: 4.098 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/0.6973, allocations: 0.9821 MB / 0.5759 GB, free: 3.066 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000567/0.698, allocations: 0.716 MB / 0.5766 GB, free: 2.324 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.6982, allocations: 43.41 kB / 0.5766 GB, free: 2.281 MB / 394.7 MB Notification: Performance of SimCode: time 1.994e-06/0.6982, allocations: 0 / 0.5766 GB, free: 2.281 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.629/3.327, allocations: 2.648 MB / 0.5792 GB, free: 15.63 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat does not exist to compare? outputFormat=mat