Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test16",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.0007921/0.0007921, allocations: 175 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.163/1.163, allocations: 205.4 MB / 222.9 MB, free: 9.039 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.0006779/0.0006779, allocations: 90.36 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.3203/0.3203, allocations: 43.56 MB / 363.1 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.0003591, allocations: 15.98 kB / 432.1 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1021, allocations: 58.85 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.001967/0.1041, allocations: 1.398 MB / 492.3 MB, free: 9.145 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.1053, allocations: 0.7384 MB / 493.1 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.219e-05/0.1054, allocations: 0 / 493.1 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.1057, allocations: 31.84 kB / 493.1 MB, free: 8.367 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001779/0.1059, allocations: 39.83 kB / 493.1 MB, free: 8.328 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.1061, allocations: 79.84 kB / 493.2 MB, free: 8.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.1063, allocations: 91.62 kB / 493.3 MB, free: 8.16 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.396e-05/0.1064, allocations: 12.22 kB / 493.3 MB, free: 8.148 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.112e-05/0.1065, allocations: 35.84 kB / 493.4 MB, free: 8.113 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.834e-05/0.1065, allocations: 31.8 kB / 493.4 MB, free: 8.082 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.1066, allocations: 0 / 493.4 MB, free: 8.082 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.776e-05/0.1067, allocations: 39.92 kB / 493.4 MB, free: 8.043 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.34e-05/0.1067, allocations: 23.91 kB / 493.5 MB, free: 8.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.516e-05/0.1068, allocations: 53.52 kB / 493.5 MB, free: 7.961 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.1069, allocations: 80.09 kB / 493.6 MB, free: 7.883 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1069, allocations: 0 / 493.6 MB, free: 7.883 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1069, allocations: 0 / 493.6 MB, free: 7.883 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.107, allocations: 4 kB / 493.6 MB, free: 7.879 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.0004663/0.1074, allocations: 395.1 kB / 494 MB, free: 7.445 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1075, allocations: 8.031 kB / 494 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.922e-05/0.1075, allocations: 30.75 kB / 494 MB, free: 7.398 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.419e-05/0.1076, allocations: 12.84 kB / 494 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.1078, allocations: 204.1 kB / 494.2 MB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.1078, allocations: 8.25 kB / 494.2 MB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.1078, allocations: 7.938 kB / 494.2 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.108, allocations: 57.67 kB / 494.3 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.108, allocations: 0 / 494.3 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.108, allocations: 0 / 494.3 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.108, allocations: 4 kB / 494.3 MB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.932e-05/0.1081, allocations: 15.98 kB / 494.3 MB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.1084, allocations: 280.9 kB / 494.6 MB, free: 6.727 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.1086, allocations: 66.61 kB / 494.7 MB, free: 6.652 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.71e-05/0.1087, allocations: 16.86 kB / 494.7 MB, free: 6.633 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.1087, allocations: 0 / 494.7 MB, free: 6.633 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.1089, allocations: 71.38 kB / 494.7 MB, free: 6.551 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.905e-06/0.1089, allocations: 3.984 kB / 494.7 MB, free: 6.547 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005249/0.1094, allocations: 177.2 kB / 494.9 MB, free: 6.367 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.1095, allocations: 51.41 kB / 495 MB, free: 6.305 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.1096, allocations: 174.2 kB / 495.1 MB, free: 6.125 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.1097, allocations: 29.7 kB / 495.2 MB, free: 6.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/0.1097, allocations: 100.1 kB / 495.3 MB, free: 5.988 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.1097, allocations: 19.64 kB / 495.3 MB, free: 5.969 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.1098, allocations: 8 kB / 495.3 MB, free: 5.961 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1099, allocations: 318.8 kB / 495.6 MB, free: 5.641 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.942e-05/0.1099, allocations: 31.92 kB / 495.6 MB, free: 5.609 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.045e-05/0.11, allocations: 37.64 kB / 495.7 MB, free: 5.566 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.1101, allocations: 53.72 kB / 495.7 MB, free: 5.508 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1101, allocations: 0 / 495.7 MB, free: 5.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000181/0.1103, allocations: 105.5 kB / 495.8 MB, free: 5.398 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1103, allocations: 7.594 kB / 495.8 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1103, allocations: 0 / 495.8 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1104, allocations: 8.406 kB / 495.8 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-05/0.1104, allocations: 12 kB / 495.9 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1105, allocations: 4.141 kB / 495.9 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.832e-05/0.1105, allocations: 11.94 kB / 495.9 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.1105, allocations: 7.984 kB / 495.9 MB, free: 5.352 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 9.784e-05/0.1106, allocations: 125.8 kB / 496 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/0.1107, allocations: 11.81 kB / 496 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.776e-05/0.1107, allocations: 16.7 kB / 496 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1107, allocations: 7.938 kB / 496 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1107, allocations: 0 / 496 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1107, allocations: 3.938 kB / 496 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004448/0.1112, allocations: 387.3 kB / 496.4 MB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1112, allocations: 0 / 496.4 MB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.353e-05/0.1112, allocations: 8 kB / 496.4 MB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.1112, allocations: 7.922 kB / 496.4 MB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.1113, allocations: 0 / 496.4 MB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1113, allocations: 8.031 kB / 496.4 MB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1113, allocations: 0 / 496.4 MB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.1115, allocations: 204.2 kB / 496.6 MB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.75e-05/0.1116, allocations: 84.92 kB / 496.7 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.1116, allocations: 11.92 kB / 496.7 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.807e-05/0.1117, allocations: 4 kB / 496.7 MB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.1117, allocations: 11.98 kB / 496.7 MB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.1118, allocations: 4 kB / 496.8 MB, free: 4.371 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001039/0.1119, allocations: 135.9 kB / 496.9 MB, free: 4.238 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1119, allocations: 0 / 496.9 MB, free: 4.238 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002345/0.1121, allocations: 16 kB / 496.9 MB, free: 4.223 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.001239/0.1134, allocations: 1.098 MB / 498 MB, free: 3.145 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001622/0.1135, allocations: 47.98 kB / 498 MB, free: 3.098 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1135, allocations: 8 kB / 498.1 MB, free: 3.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.619e-05/0.1136, allocations: 35.97 kB / 498.1 MB, free: 3.055 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.114, allocations: 32.16 kB / 498.1 MB, free: 3.023 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.115, allocations: 0.708 MB / 498.8 MB, free: 2.258 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.1153, allocations: 0.7041 MB / 499.5 MB, free: 1.527 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.935e-05/0.1154, allocations: 31.42 kB / 499.6 MB, free: 1.496 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.1154, allocations: 4 kB / 499.6 MB, free: 1.492 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.867/2.982, allocations: 2.146 MB / 0.49 GB, free: 42.2 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches