Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test25",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.000787/0.000787, allocations: 175.2 kB / 16.72 MB, free: 5.051 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.265/1.265, 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.0007381/0.0007382, allocations: 86.31 kB / 271.2 MB, free: 8.254 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.2849/0.2849, allocations: 43.56 MB / 363.1 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.0003451, allocations: 12 kB / 432.1 MB, free: 5.508 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09844/0.09881, allocations: 58.86 MB / 490.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.001899/0.1007, allocations: 1.402 MB / 492.3 MB, free: 9.148 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.1019, allocations: 0.7305 MB / 493.1 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.18e-05/0.102, allocations: 7.938 kB / 493.1 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002564/0.1022, allocations: 35.89 kB / 493.1 MB, free: 8.367 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.1024, allocations: 43.83 kB / 493.2 MB, free: 8.324 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.1027, allocations: 79.83 kB / 493.2 MB, free: 8.246 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.1028, allocations: 83.7 kB / 493.3 MB, free: 8.164 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.9e-05/0.1029, allocations: 8.219 kB / 493.3 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.315e-05/0.103, allocations: 43.78 kB / 493.4 MB, free: 8.113 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.063e-05/0.1031, allocations: 27.84 kB / 493.4 MB, free: 8.086 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.1031, allocations: 8 kB / 493.4 MB, free: 8.078 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.18e-05/0.1032, allocations: 39.92 kB / 493.4 MB, free: 8.039 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.41e-05/0.1033, allocations: 19.92 kB / 493.5 MB, free: 8.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.94e-05/0.1033, allocations: 53.5 kB / 493.5 MB, free: 7.961 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.1035, allocations: 84.09 kB / 493.6 MB, free: 7.879 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1035, allocations: 0 / 493.6 MB, free: 7.879 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1035, allocations: 0 / 493.6 MB, free: 7.879 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.1035, allocations: 4 kB / 493.6 MB, free: 7.875 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.0004744/0.104, allocations: 399 kB / 494 MB, free: 7.438 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.1041, allocations: 12.03 kB / 494 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.875e-05/0.1041, allocations: 30.75 kB / 494 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/0.1042, allocations: 16.84 kB / 494 MB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.1044, allocations: 212.7 kB / 494.2 MB, free: 7.125 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.1044, allocations: 8.312 kB / 494.3 MB, free: 7.117 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.1044, allocations: 3.938 kB / 494.3 MB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.1046, allocations: 53.67 kB / 494.3 MB, free: 7.055 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1046, allocations: 7.938 kB / 494.3 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.1046, allocations: 0 / 494.3 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1046, allocations: 0 / 494.3 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.021e-05/0.1047, allocations: 19.98 kB / 494.3 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003631/0.1051, allocations: 292.9 kB / 494.6 MB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.1052, allocations: 58.61 kB / 494.7 MB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.198e-05/0.1053, allocations: 20.84 kB / 494.7 MB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.1053, allocations: 4 kB / 494.7 MB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.1055, allocations: 67.33 kB / 494.8 MB, free: 6.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.1055, allocations: 4 kB / 494.8 MB, free: 6.516 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005237/0.106, allocations: 177.1 kB / 495 MB, free: 6.336 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.1061, allocations: 55.41 kB / 495 MB, free: 6.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.1062, allocations: 196.7 kB / 495.2 MB, free: 6.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.1063, allocations: 29.7 kB / 495.2 MB, free: 6.035 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.446e-05/0.1063, allocations: 108.1 kB / 495.3 MB, free: 5.926 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.1064, allocations: 15.72 kB / 495.3 MB, free: 5.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.1064, allocations: 4 kB / 495.4 MB, free: 5.906 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1065, allocations: 326.8 kB / 495.7 MB, free: 5.578 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.225e-05/0.1066, allocations: 15.98 kB / 495.7 MB, free: 5.562 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.471e-05/0.1066, allocations: 37.7 kB / 495.7 MB, free: 5.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.1068, allocations: 65.64 kB / 495.8 MB, free: 5.449 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1068, allocations: 0 / 495.8 MB, free: 5.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001699/0.1069, allocations: 105.4 kB / 495.9 MB, free: 5.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.107, allocations: 4 kB / 495.9 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.107, allocations: 4 kB / 495.9 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.107, allocations: 0 / 495.9 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.105e-05/0.1071, allocations: 15.98 kB / 495.9 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1071, allocations: 160 / 495.9 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.852e-05/0.1071, allocations: 7.938 kB / 495.9 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.1072, allocations: 8.031 kB / 495.9 MB, free: 5.301 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.13e-05/0.1073, allocations: 129.6 kB / 496.1 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.1073, allocations: 11.91 kB / 496.1 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.194e-05/0.1073, allocations: 25.31 kB / 496.1 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1073, allocations: 3.938 kB / 496.1 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1074, allocations: 384 / 496.1 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1074, allocations: 7.938 kB / 496.1 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004079/0.1078, allocations: 395.2 kB / 496.5 MB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1078, allocations: 4 kB / 496.5 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.044e-05/0.1078, allocations: 8 kB / 496.5 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1078, allocations: 3.938 kB / 496.5 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.1079, allocations: 7.984 kB / 496.5 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1079, allocations: 0 / 496.5 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.1079, allocations: 0 / 496.5 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.1081, allocations: 204.3 kB / 496.7 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.297e-05/0.1081, allocations: 89.11 kB / 496.8 MB, free: 4.328 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.1082, allocations: 11.94 kB / 496.8 MB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.925e-05/0.1083, allocations: 7.922 kB / 496.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.1083, allocations: 7.938 kB / 496.8 MB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.1083, allocations: 7.984 kB / 496.8 MB, free: 4.293 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001091/0.1084, allocations: 148.9 kB / 497 MB, free: 4.148 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1084, allocations: 4 kB / 497 MB, free: 4.145 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002336/0.1087, allocations: 31.98 kB / 497 MB, free: 4.113 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.001271/0.11, allocations: 1.087 MB / 498.1 MB, free: 3.051 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001574/0.1101, allocations: 59.91 kB / 498.2 MB, free: 2.992 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1101, allocations: 0 / 498.2 MB, free: 2.992 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.386e-05/0.1102, allocations: 31.91 kB / 498.2 MB, free: 2.961 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.1105, allocations: 28.3 kB / 498.2 MB, free: 2.934 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.1117, allocations: 0.7598 MB / 499 MB, free: 2.109 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.1119, allocations: 0.7121 MB / 499.7 MB, free: 1.371 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.057e-05/0.112, allocations: 35.42 kB / 499.7 MB, free: 1.336 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.112, allocations: 0 / 499.7 MB, free: 1.336 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.872/2.984, allocations: 2.263 MB / 0.4902 GB, free: 42.3 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches