Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001285/0.001285, allocations: 103.8 kB / 17.63 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001385/0.001385, allocations: 206.4 kB / 18.58 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2047/0.2047, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 83.36 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1168, allocations: 62.44 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003231/0.1201, allocations: 1.84 MB / 482 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.1218, allocations: 1.099 MB / 483.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.122, allocations: 0 / 483.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004641/0.1225, allocations: 315.3 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004928/0.123, allocations: 255.2 kB / 483.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.1232, allocations: 99.64 kB / 483.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000349/0.1236, allocations: 255.4 kB / 484 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.104e-05/0.1237, allocations: 21.59 kB / 484 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.1239, allocations: 139.5 kB / 484.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.1241, allocations: 191.5 kB / 484.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/0.1241, allocations: 8 kB / 484.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.1243, allocations: 47.92 kB / 484.4 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.1244, allocations: 131.6 kB / 484.5 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.1245, allocations: 150.8 kB / 484.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000365/0.1249, allocations: 375 kB / 485 MB, free: 304 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1249, allocations: 0 / 485 MB, free: 304 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1249, allocations: 0 / 485 MB, free: 304 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.1249, allocations: 3.938 kB / 485 MB, free: 300 kB / 350.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.0009158/0.1259, allocations: 0.7385 MB / 485.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.1259, allocations: 8.031 kB / 485.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.179e-05/0.126, allocations: 42.73 kB / 485.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.1261, allocations: 48.28 kB / 485.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005359/0.1266, allocations: 447.8 kB / 486.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.1267, allocations: 4.375 kB / 486.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.1267, allocations: 11.88 kB / 486.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.1269, allocations: 87.36 kB / 486.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.127, allocations: 0 / 486.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.127, allocations: 0 / 486.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.127, allocations: 0 / 486.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.1271, allocations: 31.97 kB / 486.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/0.1275, allocations: 382.3 kB / 486.8 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.1278, allocations: 109.2 kB / 486.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.466e-05/0.1279, allocations: 41.64 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.1279, allocations: 4 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002524/0.1281, allocations: 117 kB / 487.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.1282, allocations: 0 / 487.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.000476/0.1286, allocations: 200.9 kB / 487.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.1287, allocations: 77.11 kB / 487.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.1298, allocations: 1.058 MB / 488.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.1298, allocations: 25.7 kB / 488.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.13, allocations: 244.1 kB / 488.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.549e-05/0.13, allocations: 23.62 kB / 488.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.255e-05/0.1301, allocations: 33.64 kB / 488.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1303, allocations: 370.8 kB / 489.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.778e-05/0.1304, allocations: 27.98 kB / 489.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.936e-05/0.1305, allocations: 58.97 kB / 489.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.1306, allocations: 95.86 kB / 489.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.1307, allocations: 3.938 kB / 489.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003245/0.131, allocations: 168.9 kB / 489.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.131, allocations: 4 kB / 489.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.131, allocations: 0 / 489.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.131, allocations: 8.062 kB / 489.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.1312, allocations: 23.98 kB / 489.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.1312, allocations: 7.938 kB / 489.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.879e-05/0.1313, allocations: 7.938 kB / 489.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.1313, allocations: 4 kB / 489.5 MB, free: 11.54 MB / 366.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002175/0.1315, allocations: 225.7 kB / 489.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.786e-05/0.1316, allocations: 51.34 kB / 489.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.487e-05/0.1317, allocations: 60.14 kB / 489.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1317, allocations: 8 kB / 489.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.1317, allocations: 0 / 489.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1317, allocations: 3.984 kB / 489.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00033/0.1321, allocations: 345.4 kB / 490.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1321, allocations: 4 kB / 490.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.947e-05/0.1321, allocations: 4 kB / 490.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1321, allocations: 0 / 490.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.1322, allocations: 4 kB / 490.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1322, allocations: 7.922 kB / 490.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1322, allocations: 3.938 kB / 490.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.1325, allocations: 209.2 kB / 490.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.1326, allocations: 140.4 kB / 490.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.553e-05/0.1327, allocations: 128 / 490.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.646e-05/0.1328, allocations: 11.98 kB / 490.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.1328, allocations: 8 kB / 490.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.1329, allocations: 7.984 kB / 490.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008256/0.1337, allocations: 0.7917 MB / 491.3 MB, free: 9.578 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1337, allocations: 0 / 491.3 MB, free: 9.578 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002835/0.134, allocations: 44 kB / 491.4 MB, free: 9.535 MB / 366.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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.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.001602/0.1356, allocations: 1.04 MB / 492.4 MB, free: 8.602 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002694/0.1359, allocations: 79.91 kB / 492.5 MB, free: 8.523 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.1359, allocations: 3.938 kB / 492.5 MB, free: 8.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.136, allocations: 32.36 kB / 492.5 MB, free: 8.488 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.1365, allocations: 85.02 kB / 492.6 MB, free: 8.414 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005883/0.1424, allocations: 4.693 MB / 497.3 MB, free: 3.609 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004587/0.1429, allocations: 0.8505 MB / 498.2 MB, free: 2.734 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001586/0.143, allocations: 50.95 kB / 498.2 MB, free: 2.684 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.1432, allocations: 151.4 kB / 498.4 MB, free: 2.535 MB / 366.1 MB Notification: Performance of SimCode: time 2.044e-06/0.1433, allocations: 0 / 498.4 MB, free: 2.535 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02801/0.1713, allocations: 8.912 MB / 0.4954 GB, free: 9.691 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.703/7.874, allocations: 11.78 kB / 0.4954 GB, free: 9.68 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.2 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[5096]=8000.000000 File[577]=2048.000000 " Variables in the reference:time,startTime_0.y[1],startTime.y[1] Variables in the result:time,startTime.y[1],startTime_0.y[1],startTime.offset[1],startTime.shiftTime,startTime.startTime