Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test17",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.0008578/0.0008578, allocations: 176 kB / 16.72 MB, free: 4.957 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.204/1.204, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0007184/0.0007186, allocations: 82.42 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.3009/0.3009, allocations: 43.57 MB / 363.1 MB, free: 52.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003626, allocations: 12 kB / 432.1 MB, free: 5.707 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1042, allocations: 58.84 MB / 490.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.001982/0.1062, allocations: 1.405 MB / 492.3 MB, free: 9.363 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.1074, allocations: 0.7461 MB / 493.1 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.452e-05/0.1075, allocations: 0 / 493.1 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.1077, allocations: 27.91 kB / 493.1 MB, free: 8.582 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001932/0.1079, allocations: 43.83 kB / 493.1 MB, free: 8.539 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.1082, allocations: 79.78 kB / 493.2 MB, free: 8.461 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.1084, allocations: 83.7 kB / 493.3 MB, free: 8.379 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.72e-05/0.1085, allocations: 16.2 kB / 493.3 MB, free: 8.363 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.214e-05/0.1086, allocations: 39.78 kB / 493.4 MB, free: 8.324 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.107e-05/0.1087, allocations: 31.8 kB / 493.4 MB, free: 8.293 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.1087, allocations: 0 / 493.4 MB, free: 8.293 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.1088, allocations: 39.97 kB / 493.4 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.309e-05/0.1089, allocations: 19.92 kB / 493.5 MB, free: 8.234 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.315e-05/0.109, allocations: 49.52 kB / 493.5 MB, free: 8.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.1091, allocations: 84.09 kB / 493.6 MB, free: 8.098 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1091, allocations: 0 / 493.6 MB, free: 8.098 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1091, allocations: 0 / 493.6 MB, free: 8.098 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.1092, allocations: 0 / 493.6 MB, free: 8.098 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.0005012/0.1097, allocations: 395.1 kB / 494 MB, free: 7.664 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1097, allocations: 11.97 kB / 494 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.294e-05/0.1098, allocations: 34.73 kB / 494 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.056e-05/0.1098, allocations: 8.844 kB / 494 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.11, allocations: 208 kB / 494.2 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.11, allocations: 4.359 kB / 494.2 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.1101, allocations: 7.938 kB / 494.2 MB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.1102, allocations: 53.67 kB / 494.3 MB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1102, allocations: 4 kB / 494.3 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.1103, allocations: 0 / 494.3 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1103, allocations: 0 / 494.3 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.147e-05/0.1103, allocations: 23.92 kB / 494.3 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003675/0.1107, allocations: 284.9 kB / 494.6 MB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.1109, allocations: 58.69 kB / 494.7 MB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.327e-05/0.1109, allocations: 24.78 kB / 494.7 MB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.111, allocations: 0 / 494.7 MB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/0.1112, allocations: 71.33 kB / 494.7 MB, free: 6.758 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.1112, allocations: 0 / 494.7 MB, free: 6.758 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005247/0.1117, allocations: 169.2 kB / 494.9 MB, free: 6.586 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.1118, allocations: 59.41 kB / 495 MB, free: 6.516 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.1119, allocations: 170.2 kB / 495.1 MB, free: 6.336 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.1119, allocations: 29.7 kB / 495.2 MB, free: 6.301 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/0.112, allocations: 100.1 kB / 495.3 MB, free: 6.199 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.112, allocations: 27.64 kB / 495.3 MB, free: 6.172 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.1121, allocations: 0 / 495.3 MB, free: 6.172 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1122, allocations: 322.8 kB / 495.6 MB, free: 5.848 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.525e-05/0.1122, allocations: 20 kB / 495.6 MB, free: 5.828 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.128e-05/0.1123, allocations: 37.7 kB / 495.7 MB, free: 5.785 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.1124, allocations: 61.62 kB / 495.7 MB, free: 5.719 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1124, allocations: 4 kB / 495.7 MB, free: 5.715 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001698/0.1126, allocations: 93.59 kB / 495.8 MB, free: 5.617 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1126, allocations: 4 kB / 495.8 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1126, allocations: 0 / 495.8 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1127, allocations: 3.984 kB / 495.8 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.919e-05/0.1128, allocations: 24.34 kB / 495.8 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1128, allocations: 0 / 495.8 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.929e-05/0.1128, allocations: 7.938 kB / 495.9 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.1128, allocations: 4 kB / 495.9 MB, free: 5.574 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.0001293/0.113, allocations: 129.6 kB / 496 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.113, allocations: 23.73 kB / 496 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.797e-05/0.1131, allocations: 16.7 kB / 496 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1131, allocations: 0 / 496 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.1131, allocations: 0 / 496 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1131, allocations: 7.938 kB / 496 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/0.1135, allocations: 387.3 kB / 496.4 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1135, allocations: 4 kB / 496.4 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.129e-05/0.1135, allocations: 7.938 kB / 496.4 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1136, allocations: 7.938 kB / 496.4 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.1136, allocations: 0 / 496.4 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1136, allocations: 0 / 496.4 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1136, allocations: 4.188 kB / 496.4 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.1138, allocations: 204.5 kB / 496.6 MB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.1139, allocations: 92.86 kB / 496.7 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.1139, allocations: 7.938 kB / 496.7 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.96e-05/0.114, allocations: 7.984 kB / 496.7 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.114, allocations: 4 kB / 496.7 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.114, allocations: 4 kB / 496.8 MB, free: 4.586 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.889e-05/0.1141, allocations: 143.9 kB / 496.9 MB, free: 4.445 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1141, allocations: 0 / 496.9 MB, free: 4.445 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002365/0.1144, allocations: 20 kB / 496.9 MB, free: 4.426 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.00126/0.1157, allocations: 1.095 MB / 498 MB, free: 3.348 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001539/0.1158, allocations: 51.92 kB / 498.1 MB, free: 3.297 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1158, allocations: 0 / 498.1 MB, free: 3.297 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.915e-05/0.1159, allocations: 35.98 kB / 498.1 MB, free: 3.262 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.1162, allocations: 31.2 kB / 498.1 MB, free: 3.234 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.1173, allocations: 0.7041 MB / 498.8 MB, free: 2.473 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.1176, allocations: 0.7041 MB / 499.5 MB, free: 1.742 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.029e-05/0.1176, allocations: 31.42 kB / 499.6 MB, free: 1.711 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1176, allocations: 3.938 kB / 499.6 MB, free: 1.707 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.86/2.977, allocations: 2.164 MB / 0.49 GB, free: 42.34 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches