Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004583/0.004582, allocations: 100.2 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 189.2 kB / 16.78 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.222/1.222, allocations: 205.1 MB / 222.6 MB, free: 4.445 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2837/0.2837, allocations: 43.5 MB / 313.5 MB, free: 8.812 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 70.56 kB / 382.1 MB, free: 8.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09488/0.09621, allocations: 57.79 MB / 439.9 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002673/0.09892, allocations: 1.846 MB / 441.8 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.1007, allocations: 1.453 MB / 443.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.569e-05/0.1008, allocations: 0 / 443.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.1011, allocations: 39.81 kB / 443.3 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.1013, allocations: 75.69 kB / 443.3 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.1016, allocations: 135.8 kB / 443.5 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.1018, allocations: 179.3 kB / 443.6 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.914e-05/0.1019, allocations: 13.53 kB / 443.7 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.778e-05/0.102, allocations: 71.64 kB / 443.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.1022, allocations: 71.67 kB / 443.8 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.1022, allocations: 4 kB / 443.8 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.1023, allocations: 55.97 kB / 443.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.48e-05/0.1024, allocations: 31.78 kB / 443.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.239e-05/0.1024, allocations: 51.67 kB / 443.9 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.1027, allocations: 171.8 kB / 444.1 MB, free: 10.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1027, allocations: 3.938 kB / 444.1 MB, free: 10.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1027, allocations: 0 / 444.1 MB, free: 10.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.828e-06/0.1027, allocations: 0 / 444.1 MB, free: 10.5 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005995/0.1033, allocations: 478.5 kB / 444.6 MB, free: 9.984 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1033, allocations: 8.031 kB / 444.6 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.021e-05/0.1034, allocations: 38.75 kB / 444.6 MB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/0.1034, allocations: 12.75 kB / 444.6 MB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.1037, allocations: 247.6 kB / 444.9 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.1037, allocations: 4.375 kB / 444.9 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.1038, allocations: 11.88 kB / 444.9 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.104, allocations: 101 kB / 445 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.104, allocations: 0 / 445 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.104, allocations: 0 / 445 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.104, allocations: 0 / 445 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.1041, allocations: 35.92 kB / 445 MB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000199/0.1043, allocations: 218.5 kB / 445.2 MB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.1046, allocations: 105.2 kB / 445.3 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.554e-05/0.1047, allocations: 41.7 kB / 445.4 MB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.1047, allocations: 3.938 kB / 445.4 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002309/0.1049, allocations: 105 kB / 445.5 MB, free: 8.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.1049, allocations: 0 / 445.5 MB, free: 8.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004222/0.1054, allocations: 169.4 kB / 445.7 MB, free: 8.738 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/0.1055, allocations: 136.5 kB / 445.8 MB, free: 8.574 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.1057, allocations: 207.8 kB / 446 MB, free: 8.363 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.1057, allocations: 33.7 kB / 446 MB, free: 8.324 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.988e-05/0.1057, allocations: 112.1 kB / 446.1 MB, free: 8.211 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.1058, allocations: 31.64 kB / 446.2 MB, free: 8.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.1058, allocations: 25.72 kB / 446.2 MB, free: 8.148 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.682e-05/0.1059, allocations: 330.8 kB / 446.5 MB, free: 7.816 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.523e-05/0.106, allocations: 35.91 kB / 446.5 MB, free: 7.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.646e-05/0.1061, allocations: 65.14 kB / 446.6 MB, free: 7.699 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.1063, allocations: 95.88 kB / 446.7 MB, free: 7.594 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.1063, allocations: 3.938 kB / 446.7 MB, free: 7.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002533/0.1066, allocations: 133.4 kB / 446.8 MB, free: 7.453 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1066, allocations: 4 kB / 446.8 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1066, allocations: 0 / 446.8 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1066, allocations: 4 kB / 446.8 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.1067, allocations: 23.92 kB / 446.9 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.1067, allocations: 4 kB / 446.9 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.865e-05/0.1068, allocations: 15.91 kB / 446.9 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.1069, allocations: 8 kB / 446.9 MB, free: 7.395 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.107, allocations: 141.7 kB / 447 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.107, allocations: 15.81 kB / 447.1 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.197e-05/0.107, allocations: 16.98 kB / 447.1 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.1071, allocations: 4 kB / 447.1 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1071, allocations: 3.938 kB / 447.1 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1071, allocations: 0 / 447.1 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.1072, allocations: 221.5 kB / 447.3 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1072, allocations: 4 kB / 447.3 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.228e-05/0.1073, allocations: 15.92 kB / 447.3 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1073, allocations: 0 / 447.3 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.1073, allocations: 4 kB / 447.3 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1073, allocations: 4 kB / 447.3 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1073, allocations: 0 / 447.3 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.1076, allocations: 169.6 kB / 447.5 MB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.665e-05/0.1077, allocations: 92.92 kB / 447.6 MB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.1077, allocations: 4 kB / 447.6 MB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.862e-05/0.1078, allocations: 12.12 kB / 447.6 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.1078, allocations: 7.984 kB / 447.6 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.1078, allocations: 4 kB / 447.6 MB, free: 6.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.108, allocations: 161.5 kB / 447.8 MB, free: 6.434 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.108, allocations: 0 / 447.8 MB, free: 6.434 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002457/0.1082, allocations: 43.98 kB / 447.8 MB, free: 6.391 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001364/0.1096, allocations: 1.054 MB / 448.9 MB, free: 5.344 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002168/0.1098, allocations: 87.89 kB / 448.9 MB, free: 5.258 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1099, allocations: 0 / 448.9 MB, free: 5.258 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.64e-05/0.11, allocations: 35.92 kB / 449 MB, free: 5.223 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.1103, allocations: 55.81 kB / 449 MB, free: 5.168 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.1121, allocations: 1.833 MB / 450.9 MB, free: 3.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/0.1124, allocations: 0.7128 MB / 451.6 MB, free: 2.492 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.373e-05/0.1125, allocations: 29.53 kB / 451.6 MB, free: 2.465 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.308e-05/0.1125, allocations: 51.41 kB / 451.7 MB, free: 2.414 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1126, allocations: 0 / 451.7 MB, free: 2.414 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1583/0.2708, allocations: 4.376 MB / 456 MB, free: 47.46 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001188/0.271, allocations: 236.9 kB / 456.3 MB, free: 47.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/1.922, allocations: 0 / 456.3 MB, free: 47.21 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches