Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",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.001222/0.001221, allocations: 103.1 kB / 16.27 MB, free: 5.93 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.001111/0.001111, allocations: 187.9 kB / 17.2 MB, free: 5.574 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.592/1.592, 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.208/0.208, allocations: 43.52 MB / 314 MB, free: 0.5078 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.001523/0.001523, allocations: 78.16 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1195, allocations: 57.78 MB / 440.6 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.00302/0.1225, allocations: 1.83 MB / 442.5 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.1238, allocations: 0.8974 MB / 443.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.124, allocations: 3.938 kB / 443.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004081/0.1244, allocations: 255.4 kB / 443.6 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003155/0.1247, allocations: 187.4 kB / 443.8 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.1251, allocations: 147.5 kB / 443.9 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002655/0.1254, allocations: 239.4 kB / 444.2 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.587e-05/0.1255, allocations: 29.47 kB / 444.2 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.1256, allocations: 119.5 kB / 444.3 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.1258, allocations: 183.5 kB / 444.5 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.862e-05/0.1259, allocations: 4 kB / 444.5 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.126, allocations: 51.97 kB / 444.6 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.587e-05/0.126, allocations: 59.77 kB / 444.6 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.985e-05/0.1261, allocations: 91.28 kB / 444.7 MB, free: 2.684 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.1263, allocations: 211.2 kB / 444.9 MB, free: 2.477 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1264, allocations: 0 / 444.9 MB, free: 2.477 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.1264, allocations: 0 / 444.9 MB, free: 2.477 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1264, allocations: 0 / 444.9 MB, free: 2.477 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005258/0.1269, allocations: 0.5564 MB / 445.5 MB, free: 1.871 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.1269, allocations: 15.88 kB / 445.5 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.148e-05/0.127, allocations: 42.69 kB / 445.5 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.278e-05/0.127, allocations: 28.56 kB / 445.5 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.1273, allocations: 280 kB / 445.8 MB, free: 1.465 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.1273, allocations: 12.31 kB / 445.8 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.1273, allocations: 7.938 kB / 445.8 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.1275, allocations: 95.36 kB / 445.9 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1276, allocations: 11.92 kB / 445.9 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.1276, allocations: 0 / 445.9 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1276, allocations: 4 kB / 446 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.1277, allocations: 39.97 kB / 446 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003869/0.1281, allocations: 444.9 kB / 446.4 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.1283, allocations: 129.3 kB / 446.5 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.744e-05/0.1284, allocations: 37.7 kB / 446.6 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.1285, allocations: 15.86 kB / 446.6 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002316/0.1287, allocations: 109.1 kB / 446.7 MB, free: 480 kB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.1287, allocations: 0 / 446.7 MB, free: 480 kB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007712/0.1295, allocations: 387.8 kB / 447.1 MB, free: 84 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.1295, allocations: 81.05 kB / 447.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004483/0.13, allocations: 481.7 kB / 447.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.13, allocations: 33.7 kB / 447.7 MB, free: 15.47 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.1301, allocations: 160.3 kB / 447.8 MB, free: 15.31 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.02e-05/0.1302, allocations: 55.36 kB / 447.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.338e-05/0.1303, allocations: 33.72 kB / 447.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1304, allocations: 346.8 kB / 448.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.1305, allocations: 43.88 kB / 448.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.1306, allocations: 76.61 kB / 448.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.1308, allocations: 115.4 kB / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1309, allocations: 0 / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003362/0.1312, allocations: 189 kB / 448.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1312, allocations: 12.06 kB / 448.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1312, allocations: 0 / 448.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1313, allocations: 0 / 448.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.1314, allocations: 39.92 kB / 448.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1314, allocations: 7.922 kB / 448.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.939e-05/0.1315, allocations: 4 kB / 448.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.1315, allocations: 12 kB / 448.7 MB, free: 14.35 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.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 (20): * Single equations (assignments): 20 * 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.0001431/0.1317, allocations: 161.8 kB / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.271e-05/0.1317, allocations: 35.62 kB / 448.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.939e-05/0.1318, allocations: 42.8 kB / 449 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.1318, allocations: 3.938 kB / 449 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1319, allocations: 4.75 kB / 449 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1319, allocations: 0 / 449 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007337/0.1326, allocations: 0.6245 MB / 449.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1326, allocations: 4.062 kB / 449.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.15e-05/0.1327, allocations: 27.92 kB / 449.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1327, allocations: 4 kB / 449.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.1327, allocations: 4 kB / 449.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.1327, allocations: 4.078 kB / 449.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1327, allocations: 3.984 kB / 449.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004012/0.1331, allocations: 371.2 kB / 450 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.689e-05/0.1332, allocations: 100.7 kB / 450.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/0.1333, allocations: 11.98 kB / 450.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.1334, allocations: 4 kB / 450.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/0.1335, allocations: 19.92 kB / 450.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.1335, allocations: 7.984 kB / 450.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003402/0.1338, allocations: 367.1 kB / 450.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1338, allocations: 4 kB / 450.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003388/0.1342, allocations: 36 kB / 450.6 MB, free: 12.42 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 12 * 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.001616/0.1358, allocations: 1.26 MB / 451.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002866/0.1361, allocations: 123.8 kB / 451.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.1361, allocations: 4.125 kB / 451.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.1363, allocations: 59.91 kB / 452 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005131/0.1368, allocations: 55.03 kB / 452.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/0.14, allocations: 2.766 MB / 454.8 MB, free: 8.105 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.1403, allocations: 0.7787 MB / 455.6 MB, free: 7.301 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.845e-05/0.1404, allocations: 25.94 kB / 455.6 MB, free: 7.273 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.1406, allocations: 91.39 kB / 455.7 MB, free: 7.184 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1406, allocations: 0 / 455.7 MB, free: 7.184 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.1643, allocations: 5.87 MB / 461.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.826/7.99, allocations: 15.83 kB / 461.6 MB, free: 1.27 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches