Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.Test87,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87",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.0009958/0.0009959, allocations: 106.5 kB / 17.2 MB, free: 6.289 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.0009808/0.0009809, allocations: 194 kB / 18.12 MB, free: 5.383 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.348/1.348, allocations: 222.9 MB / 241.8 MB, free: 15.46 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.2057/0.2057, allocations: 44.18 MB / 336.1 MB, free: 2.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 64.06 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1089, allocations: 60.82 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003267/0.1122, allocations: 2.27 MB / 470.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.114, allocations: 1.189 MB / 472.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.1142, allocations: 0 / 472.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000529/0.1147, allocations: 123.6 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003822/0.1151, allocations: 179.3 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006877/0.1158, allocations: 293.2 kB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004948/0.1163, allocations: 402.8 kB / 473.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.1165, allocations: 53.02 kB / 473.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003805/0.1169, allocations: 279 kB / 473.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.1172, allocations: 147.2 kB / 473.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.346e-05/0.1172, allocations: 12 kB / 473.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.1174, allocations: 67.97 kB / 473.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.1175, allocations: 147.4 kB / 473.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.1177, allocations: 194.3 kB / 474 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004352/0.1182, allocations: 446.1 kB / 474.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1182, allocations: 4 kB / 474.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1182, allocations: 0 / 474.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.1182, allocations: 0 / 474.4 MB, free: 8.953 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001059/0.1193, allocations: 0.8632 MB / 475.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1193, allocations: 8.031 kB / 475.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.25e-05/0.1194, allocations: 46.73 kB / 475.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.291e-05/0.1195, allocations: 68.09 kB / 475.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004334/0.1199, allocations: 436.1 kB / 475.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.1199, allocations: 8.375 kB / 475.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.12, allocations: 23.92 kB / 475.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003596/0.1203, allocations: 189.5 kB / 476 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.1204, allocations: 3.938 kB / 476 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.1204, allocations: 11.98 kB / 476 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.1204, allocations: 4 kB / 476 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002261/0.1206, allocations: 83.94 kB / 476.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008458/0.1215, allocations: 0.8249 MB / 476.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006483/0.1221, allocations: 242.5 kB / 477.2 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.1223, allocations: 95.45 kB / 477.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.002e-05/0.1224, allocations: 4 kB / 477.3 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004436/0.1228, allocations: 208.3 kB / 477.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.824e-06/0.1229, allocations: 0 / 477.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002415/0.1253, allocations: 1.156 MB / 478.6 MB, free: 4.441 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/0.1254, allocations: 136.5 kB / 478.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009009/0.1263, allocations: 0.9183 MB / 479.7 MB, free: 3.352 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/0.1263, allocations: 37.7 kB / 479.7 MB, free: 3.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/0.1265, allocations: 260.9 kB / 480 MB, free: 3.051 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.1267, allocations: 146.1 kB / 480.1 MB, free: 2.906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.1268, allocations: 78.05 kB / 480.2 MB, free: 2.824 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.127, allocations: 386.7 kB / 480.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002384/0.1272, allocations: 112.8 kB / 480.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/0.1275, allocations: 187.2 kB / 480.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005033/0.128, allocations: 315 kB / 481.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.128, allocations: 4 kB / 481.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007281/0.1287, allocations: 436.5 kB / 481.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.1288, allocations: 11.98 kB / 481.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1288, allocations: 0 / 481.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1288, allocations: 4 kB / 481.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.1291, allocations: 84.03 kB / 481.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.1291, allocations: 11.94 kB / 481.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.1292, allocations: 19.89 kB / 481.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.1293, allocations: 16 kB / 481.8 MB, free: 1.207 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002602/0.1295, allocations: 259.9 kB / 482 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.918e-05/0.1296, allocations: 71.14 kB / 482.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/0.1298, allocations: 86.31 kB / 482.2 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.1298, allocations: 4 kB / 482.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.1298, allocations: 7.938 kB / 482.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.1298, allocations: 7.984 kB / 482.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001576/0.1314, allocations: 1.318 MB / 483.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.1314, allocations: 4 kB / 483.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.1316, allocations: 63.84 kB / 483.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.1316, allocations: 8 kB / 483.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.1316, allocations: 12.25 kB / 483.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.698e-06/0.1316, allocations: 8 kB / 483.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/0.1317, allocations: 11.92 kB / 483.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008426/0.1325, allocations: 0.781 MB / 484.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.1327, allocations: 180.2 kB / 484.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.2e-05/0.1328, allocations: 12 kB / 484.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.1331, allocations: 27.92 kB / 484.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.52e-05/0.1331, allocations: 35.89 kB / 484.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-05/0.1332, allocations: 23.98 kB / 484.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006832/0.1339, allocations: 0.6786 MB / 485.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1339, allocations: 0 / 485.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005084/0.1344, allocations: 84 kB / 485.4 MB, free: 13.38 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002266/0.1367, allocations: 1.764 MB / 487.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000573/0.1373, allocations: 327.5 kB / 487.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1373, allocations: 0 / 487.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000289/0.1376, allocations: 155.8 kB / 487.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009203/0.1385, allocations: 120.7 kB / 487.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006001/0.1445, allocations: 5.328 MB / 493.1 MB, free: 5.676 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004771/0.145, allocations: 0.9058 MB / 494 MB, free: 4.746 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002256/0.1452, allocations: 83.23 kB / 494.1 MB, free: 4.664 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002498/0.1455, allocations: 203.3 kB / 494.3 MB, free: 4.465 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1455, allocations: 0 / 494.3 MB, free: 4.465 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.1688, allocations: 10.67 MB / 0.4931 GB, free: 9.953 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000287/0.1692, allocations: 245 kB / 0.4934 GB, free: 9.691 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.894/2.063, allocations: 0 / 0.4934 GB, free: 9.691 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches