Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",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.000846/0.000846, allocations: 96.86 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.001117/0.001117, allocations: 173.7 kB / 16.58 MB, free: 5.938 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.598/1.598, allocations: 205.4 MB / 222.7 MB, free: 5.656 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.3442/0.3442, allocations: 43.54 MB / 314.6 MB, free: 8.719 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.0005051/0.0005051, allocations: 19.98 kB / 384 MB, free: 7.906 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1136, allocations: 58.85 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.00198/0.1156, allocations: 1.395 MB / 444.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.1167, allocations: 0.7461 MB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.815e-05/0.1168, allocations: 0 / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.1171, allocations: 83.75 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.1172, allocations: 59.8 kB / 445.2 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.1175, allocations: 75.84 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.1176, allocations: 87.69 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.917e-05/0.1177, allocations: 20.2 kB / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.753e-05/0.1178, allocations: 43.83 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.159e-05/0.1179, allocations: 47.77 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.1179, allocations: 4 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.89e-05/0.118, allocations: 35.98 kB / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.916e-05/0.1181, allocations: 19.92 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.755e-05/0.1181, allocations: 37.64 kB / 445.5 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.1183, allocations: 84.09 kB / 445.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1183, allocations: 0 / 445.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1183, allocations: 0 / 445.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1183, allocations: 4 kB / 445.6 MB, free: 10.19 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.0004485/0.1187, allocations: 414.8 kB / 446 MB, free: 9.738 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.1188, allocations: 8.031 kB / 446 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.569e-05/0.1188, allocations: 34.56 kB / 446.1 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.391e-05/0.1189, allocations: 15.81 kB / 446.1 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.1191, allocations: 207.5 kB / 446.3 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.1191, allocations: 0 / 446.3 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.1191, allocations: 8 kB / 446.3 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.1192, allocations: 53.67 kB / 446.3 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1193, allocations: 0 / 446.3 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1193, allocations: 7.953 kB / 446.3 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1193, allocations: 0 / 446.3 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.687e-05/0.1194, allocations: 19.98 kB / 446.4 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003103/0.1197, allocations: 288.8 kB / 446.6 MB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.1198, allocations: 62.62 kB / 446.7 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.611e-05/0.1199, allocations: 20.84 kB / 446.7 MB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.1199, allocations: 4 kB / 446.7 MB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.1201, allocations: 67.34 kB / 446.8 MB, free: 8.828 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1201, allocations: 0 / 446.8 MB, free: 8.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004745/0.1206, allocations: 181.1 kB / 447 MB, free: 8.645 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.1206, allocations: 51.41 kB / 447 MB, free: 8.582 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.1208, allocations: 210.4 kB / 447.2 MB, free: 8.367 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.1208, allocations: 33.7 kB / 447.3 MB, free: 8.328 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.306e-05/0.1209, allocations: 100.1 kB / 447.4 MB, free: 8.227 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.1209, allocations: 27.64 kB / 447.4 MB, free: 8.199 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-06/0.1209, allocations: 7.938 kB / 447.4 MB, free: 8.191 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.422e-05/0.121, allocations: 322.8 kB / 447.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.506e-05/0.1211, allocations: 27.98 kB / 447.7 MB, free: 7.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.779e-05/0.1212, allocations: 37.69 kB / 447.8 MB, free: 7.797 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.629e-05/0.1212, allocations: 20 kB / 447.8 MB, free: 7.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1212, allocations: 0 / 447.8 MB, free: 7.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001737/0.1214, allocations: 109.3 kB / 447.9 MB, free: 7.664 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.1214, allocations: 4 kB / 447.9 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1214, allocations: 0 / 447.9 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.1215, allocations: 0 / 447.9 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.284e-05/0.1215, allocations: 28.02 kB / 447.9 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.1216, allocations: 0 / 447.9 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.166e-05/0.1216, allocations: 0 / 447.9 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.1216, allocations: 4 kB / 447.9 MB, free: 7.629 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.492e-05/0.1217, allocations: 138.8 kB / 448.1 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.1217, allocations: 11.86 kB / 448.1 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.629e-05/0.1218, allocations: 21.39 kB / 448.1 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1218, allocations: 0 / 448.1 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1218, allocations: 0 / 448.1 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1218, allocations: 7.984 kB / 448.1 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000385/0.1222, allocations: 395.3 kB / 448.5 MB, free: 7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1222, allocations: 0 / 448.5 MB, free: 7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.34e-05/0.1223, allocations: 11.98 kB / 448.5 MB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1223, allocations: 4 kB / 448.5 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.1223, allocations: 192 / 448.5 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1223, allocations: 0 / 448.5 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1223, allocations: 3.938 kB / 448.5 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.1225, allocations: 208.4 kB / 448.7 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.221e-05/0.1226, allocations: 96.84 kB / 448.8 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.1226, allocations: 8 kB / 448.8 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.571e-05/0.1227, allocations: 0 / 448.8 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.771e-05/0.1227, allocations: 7.984 kB / 448.8 MB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.1227, allocations: 4 kB / 448.8 MB, free: 6.625 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.1228, allocations: 160.2 kB / 449 MB, free: 6.469 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1228, allocations: 0 / 449 MB, free: 6.469 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.1231, allocations: 20 kB / 449 MB, free: 6.449 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.001289/0.1244, allocations: 1.105 MB / 450.1 MB, free: 5.359 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.1246, allocations: 51.98 kB / 450.2 MB, free: 5.309 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1246, allocations: 0 / 450.2 MB, free: 5.309 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.981e-05/0.1246, allocations: 35.98 kB / 450.2 MB, free: 5.273 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.125, allocations: 23.97 kB / 450.2 MB, free: 5.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.1261, allocations: 0.7595 MB / 451 MB, free: 4.434 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.1263, allocations: 0.7083 MB / 451.7 MB, free: 3.699 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.672e-05/0.1264, allocations: 24.78 kB / 451.7 MB, free: 3.676 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.722e-05/0.1265, allocations: 35.42 kB / 451.8 MB, free: 3.641 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1265, allocations: 3.938 kB / 451.8 MB, free: 3.637 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0147/0.1412, allocations: 3.035 MB / 454.8 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/0.1414, allocations: 220.2 kB / 455 MB, free: 368 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.655/1.796, allocations: 4.062 kB / 455 MB, free: 364 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat does not exist to compare? outputFormat=mat