Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",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.00133/0.001336, allocations: 101.2 kB / 16.27 MB, free: 6.004 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.001522/0.001522, allocations: 187.3 kB / 17.19 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.248/0.248, allocations: 43.52 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 74.36 kB / 382.8 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1365, allocations: 57.78 MB / 440.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002862/0.1394, allocations: 1.779 MB / 442.4 MB, free: 5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.1406, allocations: 0.8857 MB / 443.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.567e-05/0.1407, allocations: 0 / 443.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000439/0.1412, allocations: 299.3 kB / 443.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003001/0.1415, allocations: 207.4 kB / 443.8 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.1418, allocations: 139.5 kB / 443.9 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.1421, allocations: 239.4 kB / 444.2 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.227e-05/0.1421, allocations: 21.81 kB / 444.2 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.1423, allocations: 119.6 kB / 444.3 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.1425, allocations: 191.9 kB / 444.5 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.1425, allocations: 11.98 kB / 444.5 MB, free: 2.906 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.1426, allocations: 36 kB / 444.5 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.1427, allocations: 124.6 kB / 444.7 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.1428, allocations: 146.8 kB / 444.8 MB, free: 2.605 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003213/0.1432, allocations: 358.6 kB / 445.1 MB, free: 2.254 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1432, allocations: 0 / 445.1 MB, free: 2.254 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.1432, allocations: 0 / 445.1 MB, free: 2.254 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.1432, allocations: 4 kB / 445.2 MB, free: 2.25 MB / 318.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.0008367/0.1441, allocations: 0.7191 MB / 445.9 MB, free: 1.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.1441, allocations: 11.89 kB / 445.9 MB, free: 1.469 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.534e-05/0.1442, allocations: 38.75 kB / 445.9 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.135e-05/0.1442, allocations: 44.38 kB / 446 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004224/0.1447, allocations: 451.7 kB / 446.4 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.1447, allocations: 4.375 kB / 446.4 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.1447, allocations: 7.938 kB / 446.4 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.1449, allocations: 87.36 kB / 446.5 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.1449, allocations: 0 / 446.5 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1449, allocations: 0 / 446.5 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.145, allocations: 0 / 446.5 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.1451, allocations: 39.91 kB / 446.5 MB, free: 0.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002962/0.1454, allocations: 362.4 kB / 446.9 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.1456, allocations: 113.1 kB / 447 MB, free: 220 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.097e-05/0.1457, allocations: 45.62 kB / 447 MB, free: 168 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.1457, allocations: 4 kB / 447.1 MB, free: 164 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002511/0.146, allocations: 105.1 kB / 447.2 MB, free: 40 kB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.146, allocations: 0 / 447.2 MB, free: 40 kB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005554/0.1466, allocations: 197 kB / 447.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.787e-05/0.1466, allocations: 85.09 kB / 447.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/0.1481, allocations: 1.007 MB / 448.4 MB, free: 14.72 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.1481, allocations: 29.7 kB / 448.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/0.1483, allocations: 224.1 kB / 448.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.634e-05/0.1484, allocations: 27.64 kB / 448.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.837e-05/0.1485, allocations: 33.66 kB / 448.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002478/0.1487, allocations: 366.8 kB / 449.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.1489, allocations: 27.98 kB / 449.1 MB, free: 14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.149, allocations: 59.42 kB / 449.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.1492, allocations: 87.34 kB / 449.3 MB, free: 13.83 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/0.1492, allocations: 7.938 kB / 449.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003918/0.1496, allocations: 161.5 kB / 449.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.1496, allocations: 8.062 kB / 449.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.1496, allocations: 0 / 449.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.1497, allocations: 4 kB / 449.5 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.1498, allocations: 27.98 kB / 449.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.1498, allocations: 4 kB / 449.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.946e-05/0.1499, allocations: 11.98 kB / 449.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.15, allocations: 4 kB / 449.5 MB, free: 13.6 MB / 334.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.0002722/0.1502, allocations: 221.6 kB / 449.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.21e-05/0.1503, allocations: 59.28 kB / 449.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.1504, allocations: 55.84 kB / 449.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1505, allocations: 0 / 449.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.1505, allocations: 4 kB / 449.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.1505, allocations: 3.984 kB / 449.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004019/0.1509, allocations: 341.2 kB / 450.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1509, allocations: 0 / 450.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.752e-05/0.151, allocations: 11.94 kB / 450.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.151, allocations: 0 / 450.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.151, allocations: 7.984 kB / 450.2 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.151, allocations: 3.938 kB / 450.2 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.151, allocations: 4 kB / 450.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00037/0.1514, allocations: 205.2 kB / 450.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.1516, allocations: 132.5 kB / 450.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.639e-05/0.1516, allocations: 0 / 450.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.429e-05/0.1517, allocations: 11.98 kB / 450.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.552e-05/0.1518, allocations: 7.984 kB / 450.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.1518, allocations: 8 kB / 450.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000935/0.1528, allocations: 0.7526 MB / 451.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1528, allocations: 0 / 451.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000286/0.1531, allocations: 40 kB / 451.3 MB, free: 11.66 MB / 334.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.001949/0.155, allocations: 1.052 MB / 452.4 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000294/0.1553, allocations: 87.84 kB / 452.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1553, allocations: 0 / 452.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.1555, allocations: 39.97 kB / 452.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.1559, allocations: 72.75 kB / 452.6 MB, free: 10.47 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006216/0.1621, allocations: 4.529 MB / 457.1 MB, free: 5.832 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006002/0.1628, allocations: 0.8388 MB / 458 MB, free: 4.969 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001931/0.163, allocations: 62.92 kB / 458 MB, free: 4.906 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.1632, allocations: 135.4 kB / 458.2 MB, free: 4.773 MB / 334.1 MB Notification: Performance of SimCode: time 1.352e-06/0.1632, allocations: 4 kB / 458.2 MB, free: 4.77 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03163/0.1949, allocations: 8.612 MB / 466.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.747/7.942, allocations: 3.938 kB / 466.8 MB, free: 12.12 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.2 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[5115]=8000.000000 File[555]=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