Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008698/0.0008698, allocations: 175.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.191/1.191, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007308/0.0007306, allocations: 90.3 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2956/0.2956, allocations: 43.56 MB / 363.1 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003644, allocations: 20 kB / 432.1 MB, free: 5.473 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1065, allocations: 58.85 MB / 490.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.001932/0.1084, allocations: 1.394 MB / 492.3 MB, free: 9.133 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.1096, allocations: 0.7461 MB / 493.1 MB, free: 8.379 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.879e-05/0.1097, allocations: 0 / 493.1 MB, free: 8.379 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002855/0.11, allocations: 79.75 kB / 493.2 MB, free: 8.301 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.1102, allocations: 63.81 kB / 493.2 MB, free: 8.238 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.1104, allocations: 75.83 kB / 493.3 MB, free: 8.164 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.1106, allocations: 95.62 kB / 493.4 MB, free: 8.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.705e-05/0.1107, allocations: 16.22 kB / 493.4 MB, free: 8.055 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.838e-05/0.1108, allocations: 51.77 kB / 493.4 MB, free: 8.004 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.446e-05/0.1109, allocations: 39.83 kB / 493.5 MB, free: 7.965 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.1109, allocations: 4 kB / 493.5 MB, free: 7.961 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.431e-05/0.111, allocations: 39.97 kB / 493.5 MB, free: 7.922 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.17e-05/0.1111, allocations: 15.92 kB / 493.5 MB, free: 7.906 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.449e-05/0.1111, allocations: 57.45 kB / 493.6 MB, free: 7.844 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.1113, allocations: 92.08 kB / 493.7 MB, free: 7.754 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1113, allocations: 4 kB / 493.7 MB, free: 7.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1113, allocations: 0 / 493.7 MB, free: 7.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1113, allocations: 0 / 493.7 MB, free: 7.75 MB / 378.7 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.0004617/0.1118, allocations: 403.1 kB / 494.1 MB, free: 7.309 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.1118, allocations: 8.031 kB / 494.1 MB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.255e-05/0.1119, allocations: 38.67 kB / 494.1 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.1119, allocations: 16.75 kB / 494.2 MB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.1122, allocations: 204.1 kB / 494.4 MB, free: 7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.1122, allocations: 8.375 kB / 494.4 MB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.1122, allocations: 7.922 kB / 494.4 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.1124, allocations: 61.61 kB / 494.4 MB, free: 6.918 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1124, allocations: 0 / 494.4 MB, free: 6.918 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.1124, allocations: 0 / 494.4 MB, free: 6.918 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1124, allocations: 0 / 494.4 MB, free: 6.918 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.306e-05/0.1125, allocations: 19.98 kB / 494.4 MB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.1128, allocations: 280.9 kB / 494.7 MB, free: 6.574 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.113, allocations: 66.61 kB / 494.8 MB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.783e-05/0.1131, allocations: 16.86 kB / 494.8 MB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.1131, allocations: 0 / 494.8 MB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.1133, allocations: 71.3 kB / 494.9 MB, free: 6.398 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.866e-06/0.1133, allocations: 7.984 kB / 494.9 MB, free: 6.391 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005228/0.1138, allocations: 173.5 kB / 495 MB, free: 6.215 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.1139, allocations: 51.41 kB / 495.1 MB, free: 6.152 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.1141, allocations: 222.3 kB / 495.3 MB, free: 5.926 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.1141, allocations: 29.7 kB / 495.3 MB, free: 5.891 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/0.1142, allocations: 108.1 kB / 495.5 MB, free: 5.781 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.1142, allocations: 27.64 kB / 495.5 MB, free: 5.754 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.1142, allocations: 0 / 495.5 MB, free: 5.754 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1144, allocations: 326.8 kB / 495.8 MB, free: 5.426 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.628e-05/0.1144, allocations: 23.98 kB / 495.8 MB, free: 5.402 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.004e-05/0.1145, allocations: 37.64 kB / 495.9 MB, free: 5.359 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.1146, allocations: 57.7 kB / 495.9 MB, free: 5.297 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1146, allocations: 0 / 495.9 MB, free: 5.297 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001815/0.1148, allocations: 101.5 kB / 496 MB, free: 5.191 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1148, allocations: 8.031 kB / 496 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1148, allocations: 4.156 kB / 496 MB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.1148, allocations: 0 / 496 MB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.158e-05/0.1149, allocations: 19.98 kB / 496 MB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.1149, allocations: 3.984 kB / 496 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.063e-05/0.115, allocations: 15.88 kB / 496.1 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.115, allocations: 0 / 496.1 MB, free: 5.141 MB / 378.7 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.0001117/0.1151, allocations: 133.4 kB / 496.2 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.924e-05/0.1152, allocations: 11.91 kB / 496.2 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.13e-05/0.1152, allocations: 21.41 kB / 496.2 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.1152, allocations: 3.984 kB / 496.2 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.1152, allocations: 0 / 496.2 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.1152, allocations: 7.938 kB / 496.2 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004006/0.1157, allocations: 391.2 kB / 496.6 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1157, allocations: 4 kB / 496.6 MB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.952e-05/0.1157, allocations: 4 kB / 496.6 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.1157, allocations: 11.97 kB / 496.6 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.1157, allocations: 3.984 kB / 496.6 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1157, allocations: 0 / 496.6 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.268e-05/0.1158, allocations: 4 kB / 496.6 MB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.116, allocations: 204.2 kB / 496.8 MB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.267e-05/0.116, allocations: 88.92 kB / 496.9 MB, free: 4.168 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.1161, allocations: 7.922 kB / 496.9 MB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.871e-05/0.1161, allocations: 12 kB / 497 MB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.823e-05/0.1162, allocations: 0 / 497 MB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.1162, allocations: 7.984 kB / 497 MB, free: 4.141 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001215/0.1163, allocations: 156.2 kB / 497.1 MB, free: 3.988 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1163, allocations: 192 / 497.1 MB, free: 3.988 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002385/0.1166, allocations: 20 kB / 497.1 MB, free: 3.969 MB / 378.7 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.001292/0.1179, allocations: 1.106 MB / 498.2 MB, free: 2.887 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001666/0.1181, allocations: 55.98 kB / 498.3 MB, free: 2.832 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1181, allocations: 0 / 498.3 MB, free: 2.832 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.938e-05/0.1181, allocations: 31.92 kB / 498.3 MB, free: 2.801 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.1185, allocations: 28.23 kB / 498.4 MB, free: 2.773 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.1197, allocations: 0.8 MB / 499.2 MB, free: 1.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.12, allocations: 0.7083 MB / 499.9 MB, free: 1.176 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.324e-05/0.12, allocations: 39.36 kB / 499.9 MB, free: 1.137 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1201, allocations: 0 / 499.9 MB, free: 1.137 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.894/3.014, allocations: 2.317 MB / 0.4904 GB, free: 42.1 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches