Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009477/0.0009478, allocations: 94.05 kB / 15.7 MB, free: 448 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 169.9 kB / 16.57 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.4 MB / 222.7 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3474/0.3474, allocations: 43.54 MB / 314.6 MB, free: 8.738 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004671/0.0004671, allocations: 16 kB / 384 MB, free: 7.906 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1197, allocations: 58.85 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.00187/0.1216, allocations: 1.398 MB / 444.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1227, allocations: 0.7423 MB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.567e-05/0.1228, allocations: 0 / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002803/0.1231, allocations: 39.81 kB / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000178/0.1233, allocations: 51.81 kB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.1235, allocations: 75.8 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.1237, allocations: 91.67 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1238, allocations: 12.16 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.901e-05/0.1239, allocations: 39.84 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.057e-05/0.124, allocations: 35.78 kB / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.124, allocations: 0 / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.875e-05/0.1241, allocations: 32 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.623e-05/0.1242, allocations: 27.91 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.205e-05/0.1242, allocations: 37.64 kB / 445.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.1244, allocations: 92.09 kB / 445.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1244, allocations: 0 / 445.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.638e-06/0.1244, allocations: 3.984 kB / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1244, allocations: 0 / 445.5 MB, free: 10.25 MB / 382.1 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.0006054/0.1251, allocations: 402.8 kB / 445.9 MB, free: 9.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.1251, allocations: 8.031 kB / 445.9 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.792e-05/0.1252, allocations: 34.56 kB / 446 MB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.1252, allocations: 23.69 kB / 446 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.1254, allocations: 218.7 kB / 446.2 MB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.1255, allocations: 0 / 446.2 MB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.1255, allocations: 4 kB / 446.2 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.1257, allocations: 53.67 kB / 446.3 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1257, allocations: 0 / 446.3 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.1257, allocations: 7.938 kB / 446.3 MB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.1257, allocations: 0 / 446.3 MB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.304e-05/0.1258, allocations: 23.98 kB / 446.3 MB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003709/0.1262, allocations: 296.8 kB / 446.6 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.1263, allocations: 54.67 kB / 446.6 MB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.082e-05/0.1264, allocations: 24.84 kB / 446.7 MB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.1264, allocations: 0 / 446.7 MB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/0.1266, allocations: 67.34 kB / 446.7 MB, free: 8.883 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.1266, allocations: 4 kB / 446.7 MB, free: 8.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005146/0.1272, allocations: 173.2 kB / 446.9 MB, free: 8.703 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.1272, allocations: 51.41 kB / 447 MB, free: 8.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.1274, allocations: 222.6 kB / 447.2 MB, free: 8.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.1274, allocations: 29.64 kB / 447.2 MB, free: 8.375 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.093e-05/0.1275, allocations: 112.1 kB / 447.3 MB, free: 8.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.1276, allocations: 35.62 kB / 447.4 MB, free: 8.227 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/0.1276, allocations: 0 / 447.4 MB, free: 8.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1277, allocations: 322.8 kB / 447.7 MB, free: 7.902 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.084e-05/0.1277, allocations: 20 kB / 447.7 MB, free: 7.883 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.743e-05/0.1278, allocations: 33.7 kB / 447.7 MB, free: 7.844 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.725e-05/0.1279, allocations: 28.05 kB / 447.7 MB, free: 7.816 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1279, allocations: 0 / 447.7 MB, free: 7.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002234/0.1281, allocations: 105.5 kB / 447.8 MB, free: 7.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.1281, allocations: 8 kB / 447.9 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1281, allocations: 0 / 447.9 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.1281, allocations: 0 / 447.9 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.277e-05/0.1282, allocations: 15.98 kB / 447.9 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1282, allocations: 4 kB / 447.9 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.327e-05/0.1283, allocations: 0 / 447.9 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.1283, allocations: 7.938 kB / 447.9 MB, free: 7.672 MB / 382.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 () * 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.0001016/0.1284, allocations: 138.8 kB / 448 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.1284, allocations: 19.95 kB / 448 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.798e-05/0.1285, allocations: 17.39 kB / 448.1 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1285, allocations: 3.938 kB / 448.1 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1285, allocations: 4 kB / 448.1 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1285, allocations: 0 / 448.1 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000398/0.1289, allocations: 399.3 kB / 448.5 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1289, allocations: 0 / 448.5 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.206e-05/0.129, allocations: 16.02 kB / 448.5 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.129, allocations: 0 / 448.5 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.129, allocations: 4 kB / 448.5 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.129, allocations: 384 / 448.5 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.129, allocations: 0 / 448.5 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.1292, allocations: 208.1 kB / 448.7 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-05/0.1293, allocations: 89 kB / 448.8 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.1293, allocations: 12 kB / 448.8 MB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.568e-05/0.1294, allocations: 4 kB / 448.8 MB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.1294, allocations: 7.984 kB / 448.8 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.1294, allocations: 4 kB / 448.8 MB, free: 6.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001275/0.1296, allocations: 168.3 kB / 449 MB, free: 6.496 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1296, allocations: 0 / 449 MB, free: 6.496 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002446/0.1298, allocations: 31.89 kB / 449 MB, free: 6.465 MB / 382.1 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 (8): * Single equations (assignments): 6 * 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.001321/0.1311, allocations: 1.097 MB / 450.1 MB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001731/0.1313, allocations: 55.97 kB / 450.1 MB, free: 5.328 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1313, allocations: 0 / 450.1 MB, free: 5.328 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.655e-05/0.1314, allocations: 23.94 kB / 450.2 MB, free: 5.305 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.1318, allocations: 39.97 kB / 450.2 MB, free: 5.266 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.1329, allocations: 0.7844 MB / 451 MB, free: 4.426 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.1332, allocations: 0.7121 MB / 451.7 MB, free: 3.688 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.903e-05/0.1332, allocations: 8.891 kB / 451.7 MB, free: 3.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.437e-05/0.1333, allocations: 43.36 kB / 451.7 MB, free: 3.637 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1333, allocations: 0 / 451.7 MB, free: 3.637 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01324/0.1466, allocations: 3.089 MB / 454.8 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/0.1468, allocations: 213.5 kB / 455 MB, free: 324 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/1.763, allocations: 4 kB / 455 MB, free: 320 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat does not exist to compare? outputFormat=mat