Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74",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.00111/0.001111, allocations: 94.19 kB / 17.35 MB, free: 6.371 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.001981/0.001981, allocations: 173 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.264/1.264, allocations: 223.3 MB / 242.3 MB, free: 252 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.1677/0.1677, allocations: 44.24 MB / 337.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002814/0.0002814, allocations: 8.281 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09336/0.09365, allocations: 61.92 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.001891/0.09559, allocations: 1.592 MB / 474 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.09692, allocations: 0.9551 MB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.665e-05/0.097, allocations: 0 / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004132/0.09743, allocations: 255.4 kB / 475.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.09771, allocations: 163.6 kB / 475.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003473/0.09807, allocations: 171.2 kB / 475.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002461/0.09833, allocations: 235.3 kB / 475.7 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.09844, allocations: 33.67 kB / 475.8 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.09858, allocations: 119.5 kB / 475.9 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.09877, allocations: 175.4 kB / 476 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.0988, allocations: 8 kB / 476.1 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.09891, allocations: 55.97 kB / 476.1 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.632e-05/0.09899, allocations: 67.75 kB / 476.2 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.606e-05/0.09908, allocations: 112.9 kB / 476.3 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.09933, allocations: 231.4 kB / 476.5 MB, free: 9.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.09934, allocations: 4 kB / 476.5 MB, free: 9.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.09935, allocations: 3.938 kB / 476.5 MB, free: 9.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.09936, allocations: 0 / 476.5 MB, free: 9.086 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000586/0.09995, allocations: 0.5254 MB / 477 MB, free: 8.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.09999, allocations: 12.03 kB / 477.1 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.87e-05/0.1, allocations: 34.75 kB / 477.1 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.639e-05/0.1001, allocations: 36.55 kB / 477.1 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.1004, allocations: 280.1 kB / 477.4 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.1004, allocations: 8.375 kB / 477.4 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.1004, allocations: 15.83 kB / 477.4 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.1006, allocations: 103.4 kB / 477.5 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.1006, allocations: 15.88 kB / 477.5 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.1007, allocations: 7.984 kB / 477.5 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1007, allocations: 0 / 477.5 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.1008, allocations: 43.97 kB / 477.6 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004737/0.1013, allocations: 484.6 kB / 478.1 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.1016, allocations: 121.2 kB / 478.2 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.182e-05/0.1017, allocations: 45.77 kB / 478.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.1017, allocations: 3.984 kB / 478.2 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002194/0.102, allocations: 117.1 kB / 478.3 MB, free: 7.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.102, allocations: 0 / 478.3 MB, free: 7.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001135/0.1031, allocations: 0.4968 MB / 478.8 MB, free: 6.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.1032, allocations: 92.97 kB / 478.9 MB, free: 6.445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004183/0.1036, allocations: 481.7 kB / 479.4 MB, free: 5.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.1036, allocations: 33.7 kB / 479.4 MB, free: 5.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.68e-05/0.1037, allocations: 156.5 kB / 479.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.756e-05/0.1038, allocations: 78.98 kB / 479.7 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.1038, allocations: 21.72 kB / 479.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.104, allocations: 346.8 kB / 480 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.1041, allocations: 55.97 kB / 480.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.1042, allocations: 95.34 kB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.1045, allocations: 155.3 kB / 480.3 MB, free: 4.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1045, allocations: 4 kB / 480.3 MB, free: 4.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000366/0.1049, allocations: 237.2 kB / 480.6 MB, free: 4.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.1049, allocations: 8 kB / 480.6 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.1049, allocations: 4 kB / 480.6 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.105, allocations: 0 / 480.6 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.1051, allocations: 43.97 kB / 480.6 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1051, allocations: 0 / 480.6 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.263e-05/0.1052, allocations: 12 kB / 480.6 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.1052, allocations: 8 kB / 480.6 MB, free: 4.676 MB / 350.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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001627/0.1054, allocations: 182.2 kB / 480.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.1054, allocations: 43.47 kB / 480.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.673e-05/0.1055, allocations: 50.91 kB / 480.9 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1055, allocations: 4 kB / 480.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1055, allocations: 0 / 480.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1056, allocations: 0 / 480.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007828/0.1063, allocations: 0.7428 MB / 481.7 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1064, allocations: 4 kB / 481.7 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.62e-05/0.1064, allocations: 27.92 kB / 481.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1065, allocations: 4 kB / 481.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.1065, allocations: 4 kB / 481.7 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1065, allocations: 4 kB / 481.7 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.1065, allocations: 7.938 kB / 481.7 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003982/0.1069, allocations: 425.8 kB / 482.1 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/0.107, allocations: 104.7 kB / 482.2 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/0.107, allocations: 8 kB / 482.2 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.1071, allocations: 19.98 kB / 482.2 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.1072, allocations: 15.92 kB / 482.3 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.1072, allocations: 15.98 kB / 482.3 MB, free: 2.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00029/0.1075, allocations: 355.1 kB / 482.6 MB, free: 2.559 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1075, allocations: 0 / 482.6 MB, free: 2.559 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003258/0.1079, allocations: 51.98 kB / 482.7 MB, free: 2.508 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001645/0.1095, allocations: 1.376 MB / 484.1 MB, free: 1.309 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003072/0.1098, allocations: 155.8 kB / 484.2 MB, free: 1.156 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1098, allocations: 3.938 kB / 484.2 MB, free: 1.152 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.11, allocations: 79.84 kB / 484.3 MB, free: 1.074 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000561/0.1106, allocations: 57.39 kB / 484.3 MB, free: 1.016 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/0.1136, allocations: 3.016 MB / 487.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.114, allocations: 0.7894 MB / 488.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000101/0.1141, allocations: 37.92 kB / 488.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.1142, allocations: 99.39 kB / 488.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1142, allocations: 4 kB / 488.3 MB, free: 12.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01501/0.1292, allocations: 5.91 MB / 494.2 MB, free: 7.156 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/0.1294, allocations: 238.2 kB / 494.4 MB, free: 6.898 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/1.843, allocations: 0 / 494.4 MB, free: 6.898 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches