Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",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.0008068/0.0008069, allocations: 96.02 kB / 17.35 MB, free: 6.367 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.0009809/0.000981, allocations: 176.1 kB / 18.25 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 223.3 MB / 242.3 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1922/0.1922, allocations: 44.25 MB / 337.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002817/0.0002817, allocations: 12.28 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1037, allocations: 61.92 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002294/0.106, allocations: 1.413 MB / 473.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.1076, allocations: 0.8459 MB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.564e-05/0.1077, allocations: 4 kB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003593/0.1081, allocations: 51.86 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002055/0.1083, allocations: 51.75 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.1086, allocations: 98.2 kB / 474.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.1088, allocations: 99.69 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1089, allocations: 8.219 kB / 474.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.77e-05/0.109, allocations: 39.8 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.383e-05/0.1091, allocations: 35.78 kB / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.1092, allocations: 0 / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.1093, allocations: 43.97 kB / 475.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.053e-05/0.1094, allocations: 23.92 kB / 475.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.695e-05/0.1094, allocations: 69.38 kB / 475.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.1097, allocations: 127.8 kB / 475.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1097, allocations: 0 / 475.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.327e-06/0.1097, allocations: 0 / 475.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1097, allocations: 7.875 kB / 475.3 MB, free: 10.3 MB / 350.1 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.0004964/0.1102, allocations: 426.8 kB / 475.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1102, allocations: 8.031 kB / 475.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.666e-05/0.1103, allocations: 34.75 kB / 475.7 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.1103, allocations: 12.84 kB / 475.7 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.1105, allocations: 215.9 kB / 476 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1106, allocations: 4.375 kB / 476 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.1106, allocations: 7.938 kB / 476 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.1107, allocations: 53.61 kB / 476 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1107, allocations: 0 / 476 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1108, allocations: 8 kB / 476 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-06/0.1108, allocations: 0 / 476 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.9e-05/0.1108, allocations: 15.98 kB / 476 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.1112, allocations: 300.9 kB / 476.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.1114, allocations: 66.61 kB / 476.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.189e-05/0.1114, allocations: 20.86 kB / 476.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.1115, allocations: 0 / 476.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.1116, allocations: 71.39 kB / 476.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.1117, allocations: 0 / 476.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005278/0.1122, allocations: 181 kB / 476.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.1122, allocations: 55.41 kB / 476.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.1125, allocations: 266.9 kB / 477 MB, free: 8.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.1125, allocations: 25.7 kB / 477 MB, free: 8.355 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.1126, allocations: 116 kB / 477.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.1126, allocations: 23.7 kB / 477.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/0.1127, allocations: 13.72 kB / 477.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1128, allocations: 334.8 kB / 477.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.301e-05/0.1129, allocations: 15.98 kB / 477.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-05/0.1129, allocations: 45.58 kB / 477.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.113, allocations: 57.7 kB / 477.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1131, allocations: 0 / 477.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001882/0.1132, allocations: 105.5 kB / 477.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.1133, allocations: 4 kB / 477.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1133, allocations: 0 / 477.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.1133, allocations: 4 kB / 477.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.133e-05/0.1134, allocations: 15.98 kB / 477.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1134, allocations: 352 / 477.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.134e-05/0.1134, allocations: 15.88 kB / 477.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.1135, allocations: 11.92 kB / 477.8 MB, free: 7.57 MB / 350.1 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 ($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 (10): * Single equations (assignments): 10 * 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.0001017/0.1136, allocations: 129.8 kB / 477.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/0.1136, allocations: 23.78 kB / 477.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.1136, allocations: 21.39 kB / 477.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1137, allocations: 0 / 477.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1137, allocations: 0 / 477.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.1137, allocations: 11.92 kB / 477.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004169/0.1141, allocations: 407.2 kB / 478.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1141, allocations: 0 / 478.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.16e-05/0.1141, allocations: 8 kB / 478.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1142, allocations: 7.969 kB / 478.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.1142, allocations: 0 / 478.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1142, allocations: 4 kB / 478.4 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1142, allocations: 0 / 478.4 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.1144, allocations: 204.2 kB / 478.6 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/0.1144, allocations: 85.02 kB / 478.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.1145, allocations: 12.31 kB / 478.7 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.1146, allocations: 11.92 kB / 478.7 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.1146, allocations: 4 kB / 478.7 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.1146, allocations: 8 kB / 478.7 MB, free: 6.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001568/0.1148, allocations: 204.2 kB / 478.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1148, allocations: 0 / 478.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.115, allocations: 20 kB / 478.9 MB, free: 6.328 MB / 350.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: 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 (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.001342/0.1164, allocations: 1.097 MB / 480 MB, free: 5.387 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001473/0.1165, allocations: 67.83 kB / 480.1 MB, free: 5.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1166, allocations: 0 / 480.1 MB, free: 5.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.376e-05/0.1166, allocations: 35.92 kB / 480.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.117, allocations: 24.3 kB / 480.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.1187, allocations: 1.824 MB / 481.9 MB, free: 3.344 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.119, allocations: 0.7227 MB / 482.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.978e-05/0.119, allocations: 12.88 kB / 482.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.061e-05/0.1191, allocations: 39.42 kB / 482.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1191, allocations: 0 / 482.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01248/0.1316, allocations: 3.278 MB / 486 MB, free: 15.39 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/0.1318, allocations: 230.3 kB / 486.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/1.807, allocations: 3.938 kB / 486.2 MB, free: 15.14 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches