Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37",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.0008852/0.0008854, allocations: 96.62 kB / 15.7 MB, free: 468 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.001135/0.001135, allocations: 171.9 kB / 16.58 MB, free: 5.648 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.469/1.469, allocations: 205.4 MB / 222.7 MB, free: 5.621 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.3371/0.3371, allocations: 43.55 MB / 314.6 MB, free: 8.988 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.0004472/0.0004473, allocations: 20 kB / 384 MB, free: 8.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.11, allocations: 58.86 MB / 442.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.001669/0.1117, allocations: 1.359 MB / 444.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009298/0.1127, allocations: 0.7189 MB / 445 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.062e-05/0.1127, allocations: 0 / 445 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002205/0.113, allocations: 51.86 kB / 445 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.1131, allocations: 63.75 kB / 445.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.1133, allocations: 71.84 kB / 445.1 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.1135, allocations: 83.69 kB / 445.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.849e-05/0.1135, allocations: 11.92 kB / 445.2 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.216e-05/0.1136, allocations: 47.77 kB / 445.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.234e-05/0.1137, allocations: 35.84 kB / 445.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.1137, allocations: 0 / 445.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.032e-05/0.1137, allocations: 31.98 kB / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.31e-05/0.1138, allocations: 15.92 kB / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.083e-05/0.1138, allocations: 37.64 kB / 445.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.1139, allocations: 72.11 kB / 445.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.114, allocations: 0 / 445.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.114, allocations: 0 / 445.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.114, allocations: 0 / 445.5 MB, free: 10.54 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000402/0.1144, allocations: 394.8 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.1144, allocations: 8.031 kB / 445.9 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.971e-05/0.1145, allocations: 30.56 kB / 445.9 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.47e-05/0.1145, allocations: 11.91 kB / 445.9 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.1147, allocations: 218.7 kB / 446.1 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.1147, allocations: 0 / 446.1 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.1147, allocations: 4 kB / 446.1 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.1148, allocations: 49.61 kB / 446.2 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.1149, allocations: 0 / 446.2 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.1149, allocations: 3.953 kB / 446.2 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1149, allocations: 0 / 446.2 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.554e-05/0.1149, allocations: 15.98 kB / 446.2 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.1151, allocations: 185.7 kB / 446.4 MB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.1152, allocations: 50.62 kB / 446.4 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.356e-05/0.1153, allocations: 20.84 kB / 446.4 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.1153, allocations: 3.938 kB / 446.5 MB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001383/0.1155, allocations: 63.39 kB / 446.5 MB, free: 9.328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.1155, allocations: 0 / 446.5 MB, free: 9.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002263/0.1157, allocations: 93.53 kB / 446.6 MB, free: 9.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.1157, allocations: 55.41 kB / 446.7 MB, free: 9.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.1159, allocations: 186.1 kB / 446.8 MB, free: 8.969 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.1159, allocations: 25.7 kB / 446.9 MB, free: 8.938 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.4e-05/0.116, allocations: 104.1 kB / 447 MB, free: 8.832 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.116, allocations: 11.91 kB / 447 MB, free: 8.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.116, allocations: 0 / 447 MB, free: 8.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1161, allocations: 326.8 kB / 447.3 MB, free: 8.492 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.355e-05/0.1162, allocations: 15.98 kB / 447.3 MB, free: 8.477 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.554e-05/0.1162, allocations: 25.72 kB / 447.3 MB, free: 8.445 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.492e-05/0.1163, allocations: 19.92 kB / 447.4 MB, free: 8.426 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1163, allocations: 0 / 447.4 MB, free: 8.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001315/0.1164, allocations: 81.78 kB / 447.4 MB, free: 8.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.1164, allocations: 8.031 kB / 447.4 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.1165, allocations: 0 / 447.4 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.1165, allocations: 64 / 447.4 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.6e-05/0.1165, allocations: 20 kB / 447.5 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1166, allocations: 7.938 kB / 447.5 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.94e-05/0.1166, allocations: 3.906 kB / 447.5 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.1166, allocations: 4 kB / 447.5 MB, free: 8.297 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 (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 8.573e-05/0.1167, allocations: 125.8 kB / 447.6 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.1167, allocations: 15.83 kB / 447.6 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/0.1168, allocations: 16.31 kB / 447.6 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.1168, allocations: 4 kB / 447.6 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.1168, allocations: 0 / 447.6 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1168, allocations: 3.953 kB / 447.6 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.1169, allocations: 185.6 kB / 447.8 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1169, allocations: 3.984 kB / 447.8 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.724e-05/0.1169, allocations: 3.938 kB / 447.8 MB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1169, allocations: 4 kB / 447.8 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.117, allocations: 0 / 447.8 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.117, allocations: 0 / 447.8 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.117, allocations: 0 / 447.8 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.1171, allocations: 113 kB / 447.9 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.355e-05/0.1172, allocations: 92.91 kB / 448 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.1172, allocations: 0 / 448 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.656e-05/0.1173, allocations: 7.984 kB / 448 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.479e-05/0.1173, allocations: 4 kB / 448.1 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.1173, allocations: 4 kB / 448.1 MB, free: 7.633 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001032/0.1174, allocations: 148 kB / 448.2 MB, free: 7.488 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1174, allocations: 0 / 448.2 MB, free: 7.488 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001953/0.1176, allocations: 16 kB / 448.2 MB, free: 7.473 MB / 382.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.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0011/0.1187, allocations: 0.9524 MB / 449.2 MB, free: 6.535 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001398/0.1189, allocations: 43.92 kB / 449.2 MB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1189, allocations: 0 / 449.2 MB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.021e-05/0.1189, allocations: 19.98 kB / 449.2 MB, free: 6.473 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.1192, allocations: 27.92 kB / 449.3 MB, free: 6.445 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008709/0.1201, allocations: 0.635 MB / 449.9 MB, free: 5.754 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.1203, allocations: 0.6965 MB / 450.6 MB, free: 5.031 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.87e-05/0.1204, allocations: 16.66 kB / 450.6 MB, free: 5.016 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.362e-05/0.1204, allocations: 35.42 kB / 450.6 MB, free: 4.98 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1204, allocations: 0 / 450.6 MB, free: 4.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01239/0.1328, allocations: 2.645 MB / 453.3 MB, free: 2.34 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002444/0.1331, allocations: 217.4 kB / 453.5 MB, free: 2.102 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/1.86, allocations: 0 / 453.5 MB, free: 2.102 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat does not exist to compare? outputFormat=mat