Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15",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.001289/0.001289, allocations: 96.91 kB / 15.69 MB, free: 480 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.001823/0.001823, allocations: 174.1 kB / 16.57 MB, free: 6.387 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.762/1.762, allocations: 205.4 MB / 222.7 MB, free: 5.676 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.3714/0.3714, allocations: 43.54 MB / 314.5 MB, free: 8.758 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.0005587/0.0005593, allocations: 16 kB / 384 MB, free: 7.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1186, allocations: 58.86 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.001992/0.1206, allocations: 1.391 MB / 444.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.1217, allocations: 0.7228 MB / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.168e-05/0.1218, allocations: 0 / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.1221, allocations: 39.77 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.1222, allocations: 39.89 kB / 445 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.1225, allocations: 75.78 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.1226, allocations: 59.91 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.985e-05/0.1227, allocations: 12.2 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.621e-05/0.1228, allocations: 39.78 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.871e-05/0.1229, allocations: 27.86 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.1229, allocations: 0 / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.954e-05/0.123, allocations: 39.86 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.822e-05/0.1231, allocations: 15.97 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.979e-05/0.1231, allocations: 37.64 kB / 445.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.1232, allocations: 80.11 kB / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.1233, allocations: 0 / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1233, allocations: 0 / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1233, allocations: 0 / 445.4 MB, free: 10.37 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.0005143/0.1238, allocations: 402.7 kB / 445.8 MB, free: 9.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1238, allocations: 8.031 kB / 445.8 MB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.551e-05/0.1239, allocations: 38.55 kB / 445.9 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.1239, allocations: 7.906 kB / 445.9 MB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.1242, allocations: 202.9 kB / 446.1 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.1242, allocations: 0 / 446.1 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.1242, allocations: 4 kB / 446.1 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.1244, allocations: 53.67 kB / 446.1 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1244, allocations: 3.984 kB / 446.1 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1244, allocations: 3.953 kB / 446.1 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.1244, allocations: 4 kB / 446.1 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.977e-05/0.1245, allocations: 23.92 kB / 446.2 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.1248, allocations: 277 kB / 446.4 MB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.125, allocations: 54.69 kB / 446.5 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.125, allocations: 0 / 446.5 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.1252, allocations: 79.41 kB / 446.6 MB, free: 9.059 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1252, allocations: 0 / 446.6 MB, free: 9.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005082/0.1257, allocations: 169.5 kB / 446.7 MB, free: 8.887 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.1258, allocations: 55.41 kB / 446.8 MB, free: 8.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.1259, allocations: 170.2 kB / 447 MB, free: 8.645 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.126, allocations: 29.7 kB / 447 MB, free: 8.609 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.306e-05/0.126, allocations: 96.14 kB / 447.1 MB, free: 8.512 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.1261, allocations: 23.64 kB / 447.1 MB, free: 8.488 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-06/0.1261, allocations: 8 kB / 447.1 MB, free: 8.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1262, allocations: 322.8 kB / 447.4 MB, free: 8.156 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.409e-05/0.1262, allocations: 20 kB / 447.4 MB, free: 8.137 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.869e-05/0.1263, allocations: 33.7 kB / 447.5 MB, free: 8.098 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.893e-05/0.1264, allocations: 23.98 kB / 447.5 MB, free: 8.074 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1264, allocations: 3.938 kB / 447.5 MB, free: 8.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000173/0.1266, allocations: 101.7 kB / 447.6 MB, free: 7.965 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.1266, allocations: 8 kB / 447.6 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1266, allocations: 7.938 kB / 447.6 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.1266, allocations: 0 / 447.6 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.941e-05/0.1267, allocations: 23.92 kB / 447.6 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1267, allocations: 4 kB / 447.6 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.358e-05/0.1268, allocations: 0 / 447.6 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.1268, allocations: 4 kB / 447.6 MB, free: 7.918 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 9.802e-05/0.1269, allocations: 129.8 kB / 447.8 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.808e-05/0.1269, allocations: 19.8 kB / 447.8 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.616e-05/0.127, allocations: 12.72 kB / 447.8 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.127, allocations: 4 kB / 447.8 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.127, allocations: 0 / 447.8 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.127, allocations: 3.984 kB / 447.8 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003932/0.1274, allocations: 387.3 kB / 448.2 MB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1274, allocations: 0 / 448.2 MB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.239e-05/0.1274, allocations: 8 kB / 448.2 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1275, allocations: 4.031 kB / 448.2 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.1275, allocations: 8 kB / 448.2 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1275, allocations: 0 / 448.2 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1275, allocations: 240 / 448.2 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.1277, allocations: 225.9 kB / 448.4 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.85e-05/0.1278, allocations: 96.91 kB / 448.5 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.1278, allocations: 0 / 448.5 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.277e-05/0.1279, allocations: 8 kB / 448.5 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.1279, allocations: 7.984 kB / 448.5 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.1279, allocations: 4 kB / 448.5 MB, free: 6.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.545e-05/0.128, allocations: 127.9 kB / 448.7 MB, free: 6.785 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1281, allocations: 4 kB / 448.7 MB, free: 6.781 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002475/0.1283, allocations: 27.98 kB / 448.7 MB, free: 6.754 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.001351/0.1297, allocations: 1.175 MB / 449.9 MB, free: 5.586 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001586/0.1298, allocations: 59.91 kB / 449.9 MB, free: 5.527 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1298, allocations: 0 / 449.9 MB, free: 5.527 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.617e-05/0.1299, allocations: 27.98 kB / 450 MB, free: 5.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.1302, allocations: 23.98 kB / 450 MB, free: 5.477 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.1312, allocations: 0.8305 MB / 450.8 MB, free: 4.594 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.1314, allocations: 0.704 MB / 451.5 MB, free: 3.863 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.098e-05/0.1315, allocations: 21.17 kB / 451.5 MB, free: 3.836 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.54e-05/0.1316, allocations: 31.42 kB / 451.6 MB, free: 3.805 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1316, allocations: 0 / 451.6 MB, free: 3.805 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0116/0.1432, allocations: 2.849 MB / 454.4 MB, free: 0.957 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001535/0.1434, allocations: 216.5 kB / 454.6 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/1.91, allocations: 3.938 kB / 454.6 MB, free: 0.7109 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat does not exist to compare? outputFormat=mat