Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test36",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.0008529/0.0008528, allocations: 174 kB / 16.72 MB, free: 5.078 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.14/1.14, 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.0006933/0.0006933, allocations: 78.42 kB / 271.2 MB, free: 8.25 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.2697/0.2697, allocations: 43.56 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003263/0.0003264, allocations: 23.98 kB / 432.1 MB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0996/0.09994, allocations: 58.84 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.001711/0.1017, allocations: 1.398 MB / 492.3 MB, free: 9.137 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1027, allocations: 0.7422 MB / 493.1 MB, free: 8.387 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.254e-05/0.1028, allocations: 3.938 kB / 493.1 MB, free: 8.383 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002653/0.1031, allocations: 75.83 kB / 493.1 MB, free: 8.309 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002201/0.1033, allocations: 71.78 kB / 493.2 MB, free: 8.238 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.1036, allocations: 75.84 kB / 493.3 MB, free: 8.164 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.1038, allocations: 95.67 kB / 493.4 MB, free: 8.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.742e-05/0.1038, allocations: 12.22 kB / 493.4 MB, free: 8.059 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.053e-05/0.1039, allocations: 55.77 kB / 493.5 MB, free: 8.004 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.692e-05/0.104, allocations: 43.83 kB / 493.5 MB, free: 7.961 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.1041, allocations: 0 / 493.5 MB, free: 7.961 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.655e-05/0.1042, allocations: 35.97 kB / 493.5 MB, free: 7.926 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.182e-05/0.1042, allocations: 27.86 kB / 493.6 MB, free: 7.898 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.635e-05/0.1043, allocations: 61.44 kB / 493.6 MB, free: 7.832 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.1044, allocations: 92.09 kB / 493.7 MB, free: 7.742 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1044, allocations: 4 kB / 493.7 MB, free: 7.738 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1044, allocations: 0 / 493.7 MB, free: 7.738 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1044, allocations: 0 / 493.7 MB, free: 7.738 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.0004296/0.1049, allocations: 403.1 kB / 494.1 MB, free: 7.297 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1049, allocations: 8.031 kB / 494.1 MB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.763e-05/0.105, allocations: 34.75 kB / 494.1 MB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.105, allocations: 12.75 kB / 494.2 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.1052, allocations: 223.9 kB / 494.4 MB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.1052, allocations: 384 / 494.4 MB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.1053, allocations: 15.88 kB / 494.4 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.1054, allocations: 53.67 kB / 494.4 MB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.1054, allocations: 0 / 494.4 MB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.1054, allocations: 3.938 kB / 494.5 MB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1054, allocations: 0 / 494.5 MB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.619e-05/0.1055, allocations: 19.98 kB / 494.5 MB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000319/0.1058, allocations: 296.8 kB / 494.8 MB, free: 6.539 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.106, allocations: 58.69 kB / 494.8 MB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.136e-05/0.1061, allocations: 20.84 kB / 494.8 MB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.1061, allocations: 0 / 494.8 MB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/0.1062, allocations: 67.39 kB / 494.9 MB, free: 6.371 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.545e-06/0.1062, allocations: 0 / 494.9 MB, free: 6.371 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004828/0.1067, allocations: 185.3 kB / 495.1 MB, free: 6.184 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.1068, allocations: 51.41 kB / 495.1 MB, free: 6.121 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.107, allocations: 222.5 kB / 495.4 MB, free: 5.891 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.107, allocations: 29.7 kB / 495.4 MB, free: 5.855 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/0.107, allocations: 108.1 kB / 495.5 MB, free: 5.746 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.1071, allocations: 27.64 kB / 495.5 MB, free: 5.719 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.1071, allocations: 0 / 495.5 MB, free: 5.719 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1072, allocations: 326.8 kB / 495.8 MB, free: 5.391 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.406e-05/0.1073, allocations: 19.98 kB / 495.9 MB, free: 5.371 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.43e-05/0.1073, allocations: 37.7 kB / 495.9 MB, free: 5.328 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.1075, allocations: 57.7 kB / 495.9 MB, free: 5.266 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1075, allocations: 0 / 495.9 MB, free: 5.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001685/0.1076, allocations: 105.4 kB / 496 MB, free: 5.156 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1077, allocations: 4 kB / 496.1 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1077, allocations: 4.031 kB / 496.1 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.1077, allocations: 0 / 496.1 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.834e-05/0.1078, allocations: 23.92 kB / 496.1 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1078, allocations: 0 / 496.1 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.419e-05/0.1078, allocations: 3.938 kB / 496.1 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.1078, allocations: 4 kB / 496.1 MB, free: 5.117 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.355e-05/0.1079, allocations: 137.6 kB / 496.2 MB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.108, allocations: 11.91 kB / 496.2 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.824e-05/0.108, allocations: 21.55 kB / 496.3 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.108, allocations: 4 kB / 496.3 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.108, allocations: 3.938 kB / 496.3 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.108, allocations: 3.938 kB / 496.3 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003824/0.1084, allocations: 395.3 kB / 496.7 MB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1084, allocations: 192 / 496.7 MB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.133e-05/0.1085, allocations: 11.98 kB / 496.7 MB, free: 4.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.1085, allocations: 7.875 kB / 496.7 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.1085, allocations: 12.03 kB / 496.7 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1085, allocations: 0 / 496.7 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1085, allocations: 0 / 496.7 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.1087, allocations: 204.1 kB / 496.9 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.42e-05/0.1088, allocations: 96.91 kB / 497 MB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.1088, allocations: 7.938 kB / 497 MB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.648e-05/0.1089, allocations: 4 kB / 497 MB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.088e-05/0.1089, allocations: 7.984 kB / 497 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.1089, allocations: 8 kB / 497 MB, free: 4.098 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001228/0.1091, allocations: 164.3 kB / 497.2 MB, free: 3.938 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1091, allocations: 0 / 497.2 MB, free: 3.938 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002354/0.1093, allocations: 27.98 kB / 497.2 MB, free: 3.91 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.001196/0.1105, allocations: 1.089 MB / 498.3 MB, free: 2.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001556/0.1107, allocations: 63.91 kB / 498.3 MB, free: 2.777 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1107, allocations: 0 / 498.3 MB, free: 2.777 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.369e-05/0.1107, allocations: 27.98 kB / 498.4 MB, free: 2.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.1111, allocations: 27.59 kB / 498.4 MB, free: 2.727 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.1122, allocations: 0.8217 MB / 499.2 MB, free: 1.844 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.1125, allocations: 0.7121 MB / 499.9 MB, free: 1.105 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.566e-05/0.1126, allocations: 43.36 kB / 500 MB, free: 1.062 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.1126, allocations: 3.938 kB / 500 MB, free: 1.059 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.948/3.061, allocations: 2.371 MB / 0.4906 GB, free: 42.18 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches