Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",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.001055/0.001056, allocations: 88.19 kB / 15.7 MB, free: 460 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.001514/0.001514, allocations: 174.6 kB / 16.58 MB, free: 6.844 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.552/1.552, allocations: 205.4 MB / 222.8 MB, free: 5.883 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.3225/0.3225, allocations: 43.55 MB / 314.6 MB, free: 8.609 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.000488/0.0004881, allocations: 16 kB / 384 MB, free: 7.945 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.11, allocations: 58.85 MB / 442.9 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.001813/0.1119, allocations: 1.398 MB / 444.3 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.1131, allocations: 0.7461 MB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.238e-05/0.1131, allocations: 4 kB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002483/0.1134, allocations: 39.81 kB / 445.1 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001657/0.1136, allocations: 55.81 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.1138, allocations: 75.84 kB / 445.2 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000161/0.114, allocations: 83.75 kB / 445.3 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.149e-05/0.1141, allocations: 8.219 kB / 445.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.1142, allocations: 47.77 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.168e-05/0.1143, allocations: 27.86 kB / 445.4 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.1143, allocations: 4 kB / 445.4 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.1144, allocations: 35.98 kB / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.817e-05/0.1145, allocations: 35.83 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.124e-05/0.1145, allocations: 49.62 kB / 445.5 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.1147, allocations: 100 kB / 445.6 MB, free: 10.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1147, allocations: 0 / 445.6 MB, free: 10.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1147, allocations: 0 / 445.6 MB, free: 10.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1147, allocations: 0 / 445.6 MB, free: 10.26 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.0004701/0.1152, allocations: 422.7 kB / 446 MB, free: 9.801 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1152, allocations: 12.03 kB / 446 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.365e-05/0.1153, allocations: 30.56 kB / 446 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.1153, allocations: 15.81 kB / 446.1 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.1156, allocations: 223.6 kB / 446.3 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.1156, allocations: 4 kB / 446.3 MB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.1156, allocations: 0 / 446.3 MB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.1158, allocations: 53.67 kB / 446.3 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1158, allocations: 0 / 446.3 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.1158, allocations: 11.89 kB / 446.3 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.1158, allocations: 0 / 446.3 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.086e-05/0.1159, allocations: 15.98 kB / 446.4 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002982/0.1162, allocations: 304.8 kB / 446.7 MB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.1164, allocations: 58.67 kB / 446.7 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.527e-05/0.1164, allocations: 16.86 kB / 446.7 MB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.1164, allocations: 0 / 446.7 MB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.1166, allocations: 83.27 kB / 446.8 MB, free: 8.855 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.1166, allocations: 3.938 kB / 446.8 MB, free: 8.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004648/0.1171, allocations: 169.1 kB / 447 MB, free: 8.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.1171, allocations: 55.41 kB / 447 MB, free: 8.613 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.1173, allocations: 272.8 kB / 447.3 MB, free: 8.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.1174, allocations: 29.7 kB / 447.3 MB, free: 8.305 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.034e-05/0.1174, allocations: 112.1 kB / 447.4 MB, free: 8.191 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.1175, allocations: 27.64 kB / 447.5 MB, free: 8.164 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.1175, allocations: 4 kB / 447.5 MB, free: 8.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.115e-05/0.1176, allocations: 330.8 kB / 447.8 MB, free: 7.828 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.916e-05/0.1176, allocations: 19.98 kB / 447.8 MB, free: 7.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.804e-05/0.1177, allocations: 33.72 kB / 447.8 MB, free: 7.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.173e-05/0.1178, allocations: 27.97 kB / 447.9 MB, free: 7.742 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.1178, allocations: 0 / 447.9 MB, free: 7.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001802/0.118, allocations: 113.5 kB / 448 MB, free: 7.625 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.118, allocations: 8 kB / 448 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1181, allocations: 0 / 448 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.1181, allocations: 0 / 448 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.836e-05/0.1181, allocations: 19.98 kB / 448 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1182, allocations: 0 / 448 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.443e-05/0.1182, allocations: 4 kB / 448 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.1182, allocations: 384 / 448 MB, free: 7.594 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.443e-05/0.1183, allocations: 141.8 kB / 448.2 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.1184, allocations: 27.75 kB / 448.2 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.813e-05/0.1184, allocations: 21.41 kB / 448.2 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1184, allocations: 0 / 448.2 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1184, allocations: 4 kB / 448.2 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1184, allocations: 4 kB / 448.2 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003756/0.1188, allocations: 403.3 kB / 448.6 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1188, allocations: 192 / 448.6 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.243e-05/0.1189, allocations: 11.98 kB / 448.6 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1189, allocations: 7.969 kB / 448.6 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.1189, allocations: 8 kB / 448.6 MB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1189, allocations: 0 / 448.6 MB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1189, allocations: 0 / 448.6 MB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.1191, allocations: 204.1 kB / 448.8 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-05/0.1192, allocations: 100.8 kB / 448.9 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.1192, allocations: 4 kB / 448.9 MB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.73e-05/0.1193, allocations: 4 kB / 448.9 MB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.1193, allocations: 11.97 kB / 449 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.1193, allocations: 8 kB / 449 MB, free: 6.547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001543/0.1195, allocations: 204.5 kB / 449.2 MB, free: 6.348 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1195, allocations: 0 / 449.2 MB, free: 6.348 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.1197, allocations: 27.98 kB / 449.2 MB, free: 6.32 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.001241/0.121, allocations: 1.094 MB / 450.3 MB, free: 5.238 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001483/0.1212, allocations: 63.95 kB / 450.3 MB, free: 5.176 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1212, allocations: 0 / 450.3 MB, free: 5.176 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.428e-05/0.1212, allocations: 31.92 kB / 450.4 MB, free: 5.145 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.1217, allocations: 23.98 kB / 450.4 MB, free: 5.121 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.1229, allocations: 0.9109 MB / 451.3 MB, free: 4.152 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.1231, allocations: 0.716 MB / 452 MB, free: 3.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.926e-05/0.1231, allocations: 16.88 kB / 452 MB, free: 3.395 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.766e-05/0.1232, allocations: 43.36 kB / 452.1 MB, free: 3.355 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1232, allocations: 0 / 452.1 MB, free: 3.355 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04939/0.1726, allocations: 3.3 MB / 455.4 MB, free: 52 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.1963/0.3689, allocations: 220.8 kB / 455.6 MB, free: 48.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/2.087, allocations: 0 / 455.6 MB, free: 48.65 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat does not exist to compare? outputFormat=mat