Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",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.001086/0.001086, allocations: 104 kB / 17.63 MB, free: 5.543 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.0009907/0.0009909, allocations: 192.1 kB / 18.56 MB, free: 4.621 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.367/1.367, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2059/0.2059, allocations: 44.17 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 67.62 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1065, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003478/0.11, allocations: 1.994 MB / 471.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.1116, allocations: 0.9626 MB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.1118, allocations: 7.938 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003307/0.1121, allocations: 43.69 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002808/0.1124, allocations: 75.55 kB / 472.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.1129, allocations: 154.7 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00028/0.1132, allocations: 199.5 kB / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.1133, allocations: 25.67 kB / 472.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.1134, allocations: 83.58 kB / 472.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.1136, allocations: 75.67 kB / 473 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.038e-05/0.1136, allocations: 12 kB / 473 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.1137, allocations: 47.98 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.763e-05/0.1138, allocations: 35.84 kB / 473.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.973e-05/0.1139, allocations: 75.52 kB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.1142, allocations: 191.6 kB / 473.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1142, allocations: 0 / 473.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1142, allocations: 0 / 473.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.1142, allocations: 0 / 473.3 MB, free: 10.29 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008802/0.1151, allocations: 0.5566 MB / 473.9 MB, free: 9.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.1151, allocations: 12.03 kB / 473.9 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.429e-05/0.1152, allocations: 42.73 kB / 473.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.695e-05/0.1152, allocations: 20.66 kB / 474 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.1155, allocations: 236.8 kB / 474.2 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.1155, allocations: 8.375 kB / 474.2 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.031e-05/0.1156, allocations: 15.92 kB / 474.2 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004054/0.116, allocations: 152.2 kB / 474.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.116, allocations: 3.938 kB / 474.4 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.116, allocations: 0 / 474.4 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1161, allocations: 4 kB / 474.4 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004631/0.1165, allocations: 107.9 kB / 474.5 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006169/0.1171, allocations: 0.5515 MB / 475 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006569/0.1178, allocations: 170.5 kB / 475.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002472/0.1181, allocations: 68.8 kB / 475.3 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.1181, allocations: 0 / 475.3 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004385/0.1186, allocations: 143.2 kB / 475.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.664e-06/0.1186, allocations: 0 / 475.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008836/0.1195, allocations: 265.2 kB / 475.7 MB, free: 7.746 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.1195, allocations: 51.41 kB / 475.7 MB, free: 7.684 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.1197, allocations: 223.1 kB / 475.9 MB, free: 7.453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.1198, allocations: 41.62 kB / 476 MB, free: 7.406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.043e-05/0.1199, allocations: 124.2 kB / 476.1 MB, free: 7.277 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/0.1199, allocations: 35.67 kB / 476.1 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.062e-05/0.12, allocations: 37.7 kB / 476.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1201, allocations: 330.8 kB / 476.5 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.1204, allocations: 67.94 kB / 476.6 MB, free: 6.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003237/0.1207, allocations: 108.2 kB / 476.7 MB, free: 6.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005221/0.1212, allocations: 189.8 kB / 476.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1212, allocations: 4 kB / 476.8 MB, free: 6.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006478/0.1219, allocations: 251 kB / 477.1 MB, free: 6.211 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.1219, allocations: 37.69 kB / 477.1 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.122, allocations: 0 / 477.1 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.122, allocations: 8.062 kB / 477.1 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.1222, allocations: 43.91 kB / 477.2 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1222, allocations: 0 / 477.2 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.1224, allocations: 31.81 kB / 477.2 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.1224, allocations: 8 kB / 477.2 MB, free: 6.078 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.000119/0.1225, allocations: 129.8 kB / 477.3 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.1226, allocations: 19.8 kB / 477.4 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.95e-05/0.1226, allocations: 21.41 kB / 477.4 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1226, allocations: 7.938 kB / 477.4 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1226, allocations: 0 / 477.4 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.1226, allocations: 3.984 kB / 477.4 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.1228, allocations: 233.4 kB / 477.6 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1228, allocations: 0 / 477.6 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.123, allocations: 27.91 kB / 477.7 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.123, allocations: 0 / 477.7 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.123, allocations: 4 kB / 477.7 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.279e-05/0.1231, allocations: 7.938 kB / 477.7 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1231, allocations: 4 kB / 477.7 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008642/0.1239, allocations: 296.7 kB / 478 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.126e-05/0.124, allocations: 97.02 kB / 478.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.124, allocations: 7.984 kB / 478.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.1242, allocations: 23.91 kB / 478.1 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/0.1243, allocations: 15.98 kB / 478.1 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.1243, allocations: 4 kB / 478.1 MB, free: 5.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001398/0.1245, allocations: 168.6 kB / 478.3 MB, free: 4.938 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1245, allocations: 0 / 478.3 MB, free: 4.938 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.1247, allocations: 35.91 kB / 478.3 MB, free: 4.902 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001947/0.1267, allocations: 1.161 MB / 479.5 MB, free: 3.875 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006251/0.1273, allocations: 223.1 kB / 479.7 MB, free: 3.645 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1273, allocations: 0 / 479.7 MB, free: 3.645 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002774/0.1276, allocations: 80.19 kB / 479.8 MB, free: 3.566 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.128, allocations: 55.44 kB / 479.8 MB, free: 3.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003295/0.1313, allocations: 2.143 MB / 482 MB, free: 1.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.1316, allocations: 0.728 MB / 482.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.1317, allocations: 21.55 kB / 482.7 MB, free: 488 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.456e-05/0.1318, allocations: 47.42 kB / 482.8 MB, free: 444 kB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1318, allocations: 0 / 482.8 MB, free: 444 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/0.155, allocations: 4.864 MB / 487.6 MB, free: 11.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.593/7.748, allocations: 7.922 kB / 487.6 MB, free: 11.66 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches