Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test38",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.0009088/0.0009088, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.207/1.207, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0006607/0.0006607, allocations: 90.34 kB / 271.2 MB, free: 8.242 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.2995/0.2995, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003759, allocations: 12 kB / 432.1 MB, free: 5.723 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09668/0.09707, allocations: 58.86 MB / 490.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.001628/0.09873, allocations: 1.357 MB / 492.3 MB, free: 9.41 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009254/0.09967, allocations: 0.7317 MB / 493 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.087e-05/0.09973, allocations: 0 / 493 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002379/0.09999, allocations: 59.86 kB / 493.1 MB, free: 8.613 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.1001, allocations: 51.81 kB / 493.1 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/0.1003, allocations: 71.84 kB / 493.2 MB, free: 8.492 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.1005, allocations: 83.69 kB / 493.3 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.957e-05/0.1005, allocations: 7.984 kB / 493.3 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.346e-05/0.1006, allocations: 43.78 kB / 493.3 MB, free: 8.359 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.014e-05/0.1007, allocations: 39.83 kB / 493.4 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.1007, allocations: 4 kB / 493.4 MB, free: 8.316 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.209e-05/0.1008, allocations: 28 kB / 493.4 MB, free: 8.289 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.538e-05/0.1008, allocations: 15.91 kB / 493.4 MB, free: 8.273 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.068e-05/0.1009, allocations: 57.5 kB / 493.5 MB, free: 8.211 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.101, allocations: 72.06 kB / 493.6 MB, free: 8.141 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.101, allocations: 0 / 493.6 MB, free: 8.141 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.101, allocations: 0 / 493.6 MB, free: 8.141 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.101, allocations: 0 / 493.6 MB, free: 8.141 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.0003941/0.1014, allocations: 391.1 kB / 493.9 MB, free: 7.711 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.1015, allocations: 16.03 kB / 494 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.19e-05/0.1015, allocations: 34.73 kB / 494 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.55e-05/0.1015, allocations: 8.844 kB / 494 MB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.1017, allocations: 208 kB / 494.2 MB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.1017, allocations: 384 / 494.2 MB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.1017, allocations: 7.922 kB / 494.2 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.1019, allocations: 49.69 kB / 494.3 MB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-06/0.1019, allocations: 0 / 494.3 MB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.1019, allocations: 0 / 494.3 MB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1019, allocations: 0 / 494.3 MB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.785e-05/0.102, allocations: 19.98 kB / 494.3 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001658/0.1021, allocations: 181.6 kB / 494.5 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.1023, allocations: 58.48 kB / 494.5 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.72e-05/0.1024, allocations: 20.8 kB / 494.5 MB, free: 7.004 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.1024, allocations: 4 kB / 494.5 MB, free: 7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001488/0.1025, allocations: 71.38 kB / 494.6 MB, free: 6.918 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.1026, allocations: 0 / 494.6 MB, free: 6.918 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002339/0.1028, allocations: 93.52 kB / 494.7 MB, free: 6.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.1028, allocations: 55.34 kB / 494.7 MB, free: 6.754 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.103, allocations: 186.1 kB / 494.9 MB, free: 6.559 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.103, allocations: 29.7 kB / 495 MB, free: 6.523 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/0.1031, allocations: 96.14 kB / 495.1 MB, free: 6.426 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.1031, allocations: 15.89 kB / 495.1 MB, free: 6.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.1031, allocations: 4 kB / 495.1 MB, free: 6.406 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.094e-05/0.1032, allocations: 314.8 kB / 495.4 MB, free: 6.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.3e-05/0.1032, allocations: 15.98 kB / 495.4 MB, free: 6.074 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.652e-05/0.1033, allocations: 29.7 kB / 495.4 MB, free: 6.039 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.351e-05/0.1034, allocations: 41.66 kB / 495.5 MB, free: 5.992 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1034, allocations: 7.938 kB / 495.5 MB, free: 5.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001322/0.1036, allocations: 77.58 kB / 495.5 MB, free: 5.902 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.1036, allocations: 8 kB / 495.6 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1036, allocations: 0 / 495.6 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1036, allocations: 3.984 kB / 495.6 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.368e-05/0.1037, allocations: 12.25 kB / 495.6 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1037, allocations: 4 kB / 495.6 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.463e-05/0.1037, allocations: 15.89 kB / 495.6 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.1037, allocations: 4 kB / 495.6 MB, free: 5.855 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.222e-05/0.1038, allocations: 125.8 kB / 495.7 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/0.1039, allocations: 7.906 kB / 495.7 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.1039, allocations: 16.3 kB / 495.7 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1039, allocations: 4 kB / 495.7 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.1039, allocations: 0 / 495.7 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1039, allocations: 0 / 495.7 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.104, allocations: 189.5 kB / 495.9 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1041, allocations: 0 / 495.9 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.849e-05/0.1041, allocations: 7.984 kB / 495.9 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.1041, allocations: 0 / 495.9 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.1041, allocations: 8 kB / 495.9 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1041, allocations: 0 / 495.9 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1041, allocations: 3.938 kB / 495.9 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.1043, allocations: 112.9 kB / 496.1 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.1043, allocations: 88.92 kB / 496.1 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.1043, allocations: 0 / 496.1 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.765e-05/0.1044, allocations: 7.984 kB / 496.2 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.479e-05/0.1044, allocations: 4 kB / 496.2 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.1044, allocations: 4 kB / 496.2 MB, free: 5.195 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000104/0.1045, allocations: 148 kB / 496.3 MB, free: 5.051 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1046, allocations: 0 / 496.3 MB, free: 5.051 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001889/0.1047, allocations: 12 kB / 496.3 MB, free: 5.039 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.001027/0.1058, allocations: 0.9479 MB / 497.3 MB, free: 4.105 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001289/0.1059, allocations: 39.98 kB / 497.3 MB, free: 4.066 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.1059, allocations: 0 / 497.3 MB, free: 4.066 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.514e-05/0.106, allocations: 23.92 kB / 497.3 MB, free: 4.043 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.1062, allocations: 19.98 kB / 497.3 MB, free: 4.023 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008901/0.1071, allocations: 0.6672 MB / 498 MB, free: 3.293 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.1074, allocations: 0.7121 MB / 498.7 MB, free: 2.555 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.865e-05/0.1074, allocations: 27.42 kB / 498.8 MB, free: 2.527 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1074, allocations: 0 / 498.8 MB, free: 2.527 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.735/2.843, allocations: 2.001 MB / 0.489 GB, free: 0.5234 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches