Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test8",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.0008219/0.0008219, allocations: 169.8 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.164/1.164, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0006755/0.0006755, allocations: 91.48 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.2911/0.2911, allocations: 43.57 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003252/0.0003252, allocations: 15.98 kB / 432.1 MB, free: 5.719 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1009, allocations: 58.85 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.001813/0.1027, allocations: 1.398 MB / 492.3 MB, free: 9.375 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.1038, allocations: 0.7461 MB / 493.1 MB, free: 8.621 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.08e-05/0.1038, allocations: 0 / 493.1 MB, free: 8.621 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003016/0.1042, allocations: 95.8 kB / 493.2 MB, free: 8.527 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.1043, allocations: 79.77 kB / 493.3 MB, free: 8.449 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.1046, allocations: 79.78 kB / 493.3 MB, free: 8.371 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.1047, allocations: 99.67 kB / 493.4 MB, free: 8.273 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.1049, allocations: 12.2 kB / 493.4 MB, free: 8.262 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.707e-05/0.105, allocations: 51.77 kB / 493.5 MB, free: 8.211 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.642e-05/0.1051, allocations: 55.83 kB / 493.5 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.1051, allocations: 4 kB / 493.6 MB, free: 8.152 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.529e-05/0.1052, allocations: 39.91 kB / 493.6 MB, free: 8.113 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.204e-05/0.1053, allocations: 19.92 kB / 493.6 MB, free: 8.094 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.631e-05/0.1053, allocations: 69.38 kB / 493.7 MB, free: 8.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.1055, allocations: 100.1 kB / 493.8 MB, free: 7.922 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1055, allocations: 0 / 493.8 MB, free: 7.922 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1055, allocations: 0 / 493.8 MB, free: 7.922 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.1055, allocations: 0 / 493.8 MB, free: 7.922 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004958/0.106, allocations: 422.9 kB / 494.2 MB, free: 7.461 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.106, allocations: 8.031 kB / 494.2 MB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.016e-05/0.1061, allocations: 38.73 kB / 494.2 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.018e-05/0.1061, allocations: 20.69 kB / 494.3 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.1064, allocations: 231.6 kB / 494.5 MB, free: 7.121 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.1064, allocations: 384 / 494.5 MB, free: 7.121 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.1064, allocations: 7.938 kB / 494.5 MB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.1066, allocations: 57.67 kB / 494.5 MB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1066, allocations: 3.984 kB / 494.5 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.1066, allocations: 4 kB / 494.6 MB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1066, allocations: 4 kB / 494.6 MB, free: 7.039 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.826e-05/0.1067, allocations: 23.98 kB / 494.6 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003472/0.107, allocations: 308.7 kB / 494.9 MB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.1072, allocations: 66.67 kB / 494.9 MB, free: 6.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.242e-05/0.1073, allocations: 28.84 kB / 495 MB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.1073, allocations: 4 kB / 495 MB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/0.1075, allocations: 67.39 kB / 495 MB, free: 6.477 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.1075, allocations: 3.938 kB / 495 MB, free: 6.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005373/0.1081, allocations: 217.3 kB / 495.3 MB, free: 6.254 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.1081, allocations: 51.41 kB / 495.3 MB, free: 6.191 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.1083, allocations: 250.5 kB / 495.6 MB, free: 5.934 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.1084, allocations: 33.7 kB / 495.6 MB, free: 5.895 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.946e-05/0.1084, allocations: 112.1 kB / 495.7 MB, free: 5.781 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.1085, allocations: 27.66 kB / 495.7 MB, free: 5.754 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/0.1085, allocations: 0 / 495.7 MB, free: 5.754 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1086, allocations: 330.8 kB / 496 MB, free: 5.422 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.623e-05/0.1086, allocations: 20 kB / 496.1 MB, free: 5.402 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.449e-05/0.1087, allocations: 37.7 kB / 496.1 MB, free: 5.359 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.1089, allocations: 73.64 kB / 496.2 MB, free: 5.281 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1089, allocations: 4 kB / 496.2 MB, free: 5.277 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001828/0.1091, allocations: 117.4 kB / 496.3 MB, free: 5.156 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.1091, allocations: 4 kB / 496.3 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1091, allocations: 0 / 496.3 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.1091, allocations: 4 kB / 496.3 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.535e-05/0.1092, allocations: 19.98 kB / 496.3 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1092, allocations: 4 kB / 496.3 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.389e-05/0.1093, allocations: 7.969 kB / 496.3 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.1093, allocations: 4.078 kB / 496.3 MB, free: 5.113 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 (11): * Single equations (assignments): 11 * 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.0001015/0.1094, allocations: 137.8 kB / 496.5 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.1094, allocations: 15.81 kB / 496.5 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.803e-05/0.1095, allocations: 25.36 kB / 496.5 MB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1095, allocations: 4.188 kB / 496.5 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.155e-06/0.1095, allocations: 0 / 496.5 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1095, allocations: 7.875 kB / 496.5 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004293/0.1099, allocations: 423.3 kB / 496.9 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1099, allocations: 0 / 496.9 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.764e-05/0.11, allocations: 12 kB / 496.9 MB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.11, allocations: 3.938 kB / 497 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.11, allocations: 8 kB / 497 MB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.11, allocations: 4 kB / 497 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.11, allocations: 0 / 497 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.1102, allocations: 220.2 kB / 497.2 MB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.1103, allocations: 88.92 kB / 497.3 MB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.1103, allocations: 7.938 kB / 497.3 MB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.045e-05/0.1104, allocations: 7.984 kB / 497.3 MB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.1105, allocations: 4 kB / 497.3 MB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.1105, allocations: 8 kB / 497.3 MB, free: 4.047 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001427/0.1106, allocations: 192.1 kB / 497.5 MB, free: 3.859 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1106, allocations: 4 kB / 497.5 MB, free: 3.855 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003869/0.111, allocations: 20 kB / 497.5 MB, free: 3.836 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 (9): * Single equations (assignments): 7 * 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.001941/0.113, allocations: 1.12 MB / 498.6 MB, free: 2.738 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000247/0.1132, allocations: 67.91 kB / 498.7 MB, free: 2.672 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1133, allocations: 0 / 498.7 MB, free: 2.672 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.1134, allocations: 31.98 kB / 498.7 MB, free: 2.641 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006208/0.114, allocations: 28.11 kB / 498.7 MB, free: 2.613 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.1163, allocations: 0.9018 MB / 499.7 MB, free: 1.645 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.1167, allocations: 0.7199 MB / 0.4886 GB, free: 0.8984 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.1168, allocations: 43.42 kB / 0.4887 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of SimCode: time 4e-07/0.1168, allocations: 0 / 0.4887 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.014/3.13, allocations: 2.587 MB / 0.4912 GB, free: 42.09 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches