Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test37",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.0008155/0.0008156, allocations: 175 kB / 16.72 MB, free: 5.086 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.161/1.161, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0006567/0.0006567, allocations: 91.75 kB / 271.2 MB, free: 8.246 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.3072/0.3072, allocations: 43.57 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003656/0.0003658, allocations: 20 kB / 432.1 MB, free: 5.711 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1051, allocations: 58.84 MB / 490.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.001694/0.1068, allocations: 1.357 MB / 492.3 MB, free: 9.406 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.1079, allocations: 0.7278 MB / 493 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.921e-05/0.108, allocations: 0 / 493 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000268/0.1082, allocations: 59.86 kB / 493.1 MB, free: 8.613 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001667/0.1084, allocations: 51.75 kB / 493.1 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.1086, allocations: 79.83 kB / 493.2 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.1088, allocations: 79.7 kB / 493.3 MB, free: 8.406 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.319e-05/0.1089, allocations: 15.98 kB / 493.3 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.109, allocations: 43.77 kB / 493.3 MB, free: 8.348 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.487e-05/0.1091, allocations: 35.84 kB / 493.4 MB, free: 8.312 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.1091, allocations: 4 kB / 493.4 MB, free: 8.309 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.966e-05/0.1092, allocations: 23.98 kB / 493.4 MB, free: 8.285 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.436e-05/0.1092, allocations: 23.91 kB / 493.4 MB, free: 8.262 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.935e-05/0.1093, allocations: 53.52 kB / 493.5 MB, free: 8.203 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.1094, allocations: 72.05 kB / 493.6 MB, free: 8.133 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1094, allocations: 0 / 493.6 MB, free: 8.133 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1094, allocations: 0 / 493.6 MB, free: 8.133 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1094, allocations: 0 / 493.6 MB, free: 8.133 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004528/0.1099, allocations: 395.1 kB / 493.9 MB, free: 7.699 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.1099, allocations: 8.031 kB / 493.9 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.448e-05/0.11, allocations: 38.75 kB / 494 MB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.799e-05/0.11, allocations: 8.844 kB / 494 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.1102, allocations: 212 kB / 494.2 MB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.1103, allocations: 384 / 494.2 MB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.1103, allocations: 7.938 kB / 494.2 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.1104, allocations: 53.67 kB / 494.3 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1104, allocations: 0 / 494.3 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.1104, allocations: 0 / 494.3 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1105, allocations: 4 kB / 494.3 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.902e-05/0.1105, allocations: 12 kB / 494.3 MB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001723/0.1107, allocations: 177.6 kB / 494.4 MB, free: 7.086 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.1109, allocations: 62.48 kB / 494.5 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.98e-05/0.1109, allocations: 28.78 kB / 494.5 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.111, allocations: 0 / 494.5 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/0.1111, allocations: 63.39 kB / 494.6 MB, free: 6.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.1111, allocations: 0 / 494.6 MB, free: 6.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002477/0.1114, allocations: 97.52 kB / 494.7 MB, free: 6.809 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.1114, allocations: 51.41 kB / 494.7 MB, free: 6.746 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.1116, allocations: 186.1 kB / 494.9 MB, free: 6.551 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.1116, allocations: 29.7 kB / 495 MB, free: 6.516 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.704e-05/0.1117, allocations: 96.14 kB / 495 MB, free: 6.418 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.1117, allocations: 11.89 kB / 495.1 MB, free: 6.406 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.1117, allocations: 0 / 495.1 MB, free: 6.406 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1118, allocations: 326.8 kB / 495.4 MB, free: 6.078 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.348e-05/0.1119, allocations: 12 kB / 495.4 MB, free: 6.066 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.872e-05/0.1119, allocations: 25.7 kB / 495.4 MB, free: 6.035 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.939e-05/0.112, allocations: 57.58 kB / 495.5 MB, free: 5.973 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1121, allocations: 3.938 kB / 495.5 MB, free: 5.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001333/0.1122, allocations: 73.59 kB / 495.5 MB, free: 5.891 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.1122, allocations: 7.125 kB / 495.6 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1122, allocations: 0 / 495.6 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.1122, allocations: 4 kB / 495.6 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.805e-05/0.1123, allocations: 15.92 kB / 495.6 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1123, allocations: 4.031 kB / 495.6 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.569e-05/0.1124, allocations: 7.906 kB / 495.6 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.1124, allocations: 4 kB / 495.6 MB, free: 5.852 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 (7): * Single equations (assignments): 7 * 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.24e-05/0.1125, allocations: 129.8 kB / 495.7 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.1125, allocations: 11.91 kB / 495.7 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.884e-05/0.1125, allocations: 12.31 kB / 495.7 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.1126, allocations: 0 / 495.7 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1126, allocations: 320 / 495.7 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1126, allocations: 0 / 495.7 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.1127, allocations: 201.5 kB / 495.9 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.1127, allocations: 0 / 495.9 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.015e-05/0.1127, allocations: 8 kB / 495.9 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1127, allocations: 0 / 495.9 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.1128, allocations: 0 / 495.9 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.1128, allocations: 0 / 495.9 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1128, allocations: 3.938 kB / 495.9 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.1129, allocations: 108.9 kB / 496.1 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.463e-05/0.113, allocations: 96.92 kB / 496.2 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.113, allocations: 7.984 kB / 496.2 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.474e-05/0.1131, allocations: 0 / 496.2 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.1131, allocations: 4 kB / 496.2 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.1131, allocations: 0 / 496.2 MB, free: 5.188 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001037/0.1132, allocations: 144 kB / 496.3 MB, free: 5.047 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1132, allocations: 0 / 496.3 MB, free: 5.047 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001925/0.1134, allocations: 16 kB / 496.3 MB, free: 5.031 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001073/0.1145, allocations: 0.9551 MB / 497.3 MB, free: 4.098 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000135/0.1147, allocations: 43.97 kB / 497.3 MB, free: 4.055 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1147, allocations: 0 / 497.3 MB, free: 4.055 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.187e-05/0.1147, allocations: 19.94 kB / 497.3 MB, free: 4.035 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.115, allocations: 24.03 kB / 497.4 MB, free: 4.012 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008959/0.1159, allocations: 0.6711 MB / 498 MB, free: 3.277 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.1161, allocations: 0.6965 MB / 498.7 MB, free: 2.555 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.187e-05/0.1162, allocations: 31.44 kB / 498.8 MB, free: 2.523 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1162, allocations: 0 / 498.8 MB, free: 2.523 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.75/2.866, allocations: 2.001 MB / 0.489 GB, free: 0.5195 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches