Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",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.001524/0.001524, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.001374/0.001374, allocations: 194 kB / 18.12 MB, free: 5.363 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.404/1.404, allocations: 222.9 MB / 241.8 MB, free: 15.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1888/0.1888, allocations: 44.16 MB / 336.1 MB, free: 3.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 64.47 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1103, allocations: 60.82 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003362/0.1137, allocations: 1.947 MB / 470.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.1153, allocations: 0.9744 MB / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.817e-05/0.1154, allocations: 4 kB / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003425/0.1158, allocations: 151.6 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002318/0.116, allocations: 119.7 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005533/0.1166, allocations: 153.7 kB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002389/0.1168, allocations: 231.3 kB / 472.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1169, allocations: 21.67 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.1171, allocations: 103.5 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.1173, allocations: 131.5 kB / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.1173, allocations: 4 kB / 472.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.1174, allocations: 55.97 kB / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.531e-05/0.1175, allocations: 47.84 kB / 472.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.515e-05/0.1176, allocations: 83.34 kB / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003196/0.1179, allocations: 207.5 kB / 472.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1179, allocations: 0 / 472.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1179, allocations: 0 / 472.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1179, allocations: 0 / 472.8 MB, free: 10.52 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.0008583/0.1188, allocations: 0.5255 MB / 473.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.1188, allocations: 8.031 kB / 473.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.831e-05/0.1189, allocations: 46.67 kB / 473.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.636e-05/0.1189, allocations: 24.66 kB / 473.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003817/0.1193, allocations: 263.6 kB / 473.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.1193, allocations: 8.375 kB / 473.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.1194, allocations: 11.92 kB / 473.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.1196, allocations: 114.4 kB / 473.8 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1196, allocations: 4 kB / 473.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.1196, allocations: 4 kB / 473.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1196, allocations: 0 / 473.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.1198, allocations: 43.97 kB / 473.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005484/0.1203, allocations: 468.7 kB / 474.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003564/0.1207, allocations: 117.2 kB / 474.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.1209, allocations: 53.75 kB / 474.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.1209, allocations: 4 kB / 474.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002494/0.1212, allocations: 125 kB / 474.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.1212, allocations: 0 / 474.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001418/0.1226, allocations: 484.3 kB / 475.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.583e-05/0.1227, allocations: 81.11 kB / 475.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003555/0.1231, allocations: 355 kB / 475.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.1231, allocations: 29.7 kB / 475.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.1233, allocations: 144.5 kB / 475.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.721e-05/0.1233, allocations: 75.08 kB / 475.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.316e-05/0.1234, allocations: 45.64 kB / 475.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.1236, allocations: 338.8 kB / 476.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.1237, allocations: 55.97 kB / 476.2 MB, free: 6.895 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.1239, allocations: 99.34 kB / 476.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/0.1242, allocations: 167.4 kB / 476.5 MB, free: 6.609 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1242, allocations: 0 / 476.5 MB, free: 6.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003755/0.1246, allocations: 241 kB / 476.7 MB, free: 6.367 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1246, allocations: 4 kB / 476.7 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1246, allocations: 0 / 476.7 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1246, allocations: 4 kB / 476.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.1247, allocations: 35.98 kB / 476.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.1248, allocations: 11.92 kB / 476.8 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.347e-05/0.1248, allocations: 8 kB / 476.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.1249, allocations: 12 kB / 476.8 MB, free: 6.293 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.0001393/0.125, allocations: 154.3 kB / 476.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.069e-05/0.1251, allocations: 35.59 kB / 477 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.547e-05/0.1251, allocations: 33.73 kB / 477 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1251, allocations: 4 kB / 477 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1251, allocations: 0 / 477 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1252, allocations: 4 kB / 477 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008815/0.126, allocations: 0.7193 MB / 477.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1261, allocations: 0 / 477.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.979e-05/0.1261, allocations: 35.92 kB / 477.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1261, allocations: 4 kB / 477.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.1262, allocations: 4 kB / 477.8 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1262, allocations: 0.9375 kB / 477.8 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-05/0.1262, allocations: 7.938 kB / 477.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004279/0.1267, allocations: 414.1 kB / 478.2 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.1268, allocations: 108.7 kB / 478.3 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.1268, allocations: 11.92 kB / 478.3 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.127, allocations: 16 kB / 478.3 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.127, allocations: 23.91 kB / 478.3 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.127, allocations: 8 kB / 478.3 MB, free: 4.598 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002222/0.1273, allocations: 265.9 kB / 478.6 MB, free: 4.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1273, allocations: 0 / 478.6 MB, free: 4.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003204/0.1276, allocations: 44 kB / 478.6 MB, free: 4.297 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.00174/0.1293, allocations: 1.371 MB / 480 MB, free: 3.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003066/0.1297, allocations: 155.7 kB / 480.2 MB, free: 2.953 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1297, allocations: 0 / 480.2 MB, free: 2.953 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.1299, allocations: 83.84 kB / 480.2 MB, free: 2.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004892/0.1304, allocations: 56.5 kB / 480.3 MB, free: 2.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003072/0.1335, allocations: 2.71 MB / 483 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.1338, allocations: 0.7638 MB / 483.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.1339, allocations: 37.92 kB / 483.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.134, allocations: 83.78 kB / 483.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.134, allocations: 0 / 483.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01492/0.1489, allocations: 5.597 MB / 489.5 MB, free: 9.594 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/0.1492, allocations: 241.8 kB / 489.7 MB, free: 9.336 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.982/2.131, allocations: 0 / 489.7 MB, free: 9.336 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches