Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55",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.0007286/0.0007286, allocations: 91.08 kB / 17.35 MB, free: 6.027 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.000742/0.0007422, allocations: 178.5 kB / 18.26 MB, free: 5.387 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.284/1.284, allocations: 223.3 MB / 242.3 MB, free: 180 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1987/0.1987, allocations: 44.25 MB / 337.7 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002895/0.0002895, allocations: 12 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1133, allocations: 61.92 MB / 472.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.001767/0.1151, allocations: 1.417 MB / 473.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.1168, allocations: 1.429 MB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.21e-05/0.1169, allocations: 0 / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002434/0.1171, allocations: 39.91 kB / 475.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.1173, allocations: 51.77 kB / 475.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.1176, allocations: 90.7 kB / 475.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.1177, allocations: 95.69 kB / 475.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.008e-05/0.1178, allocations: 4.234 kB / 475.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.477e-05/0.1179, allocations: 35.8 kB / 475.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.118, allocations: 42.72 kB / 475.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.1181, allocations: 4 kB / 475.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.1182, allocations: 63.95 kB / 475.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.479e-05/0.1182, allocations: 11.94 kB / 475.6 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.624e-05/0.1183, allocations: 57.5 kB / 475.7 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.1185, allocations: 116 kB / 475.8 MB, free: 9.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.1185, allocations: 3.938 kB / 475.8 MB, free: 9.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.1185, allocations: 3.938 kB / 475.8 MB, free: 9.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.1185, allocations: 0 / 475.8 MB, free: 9.793 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004682/0.119, allocations: 391.2 kB / 476.2 MB, free: 9.363 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.119, allocations: 12.03 kB / 476.2 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.944e-05/0.1191, allocations: 42.73 kB / 476.3 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.1191, allocations: 8.844 kB / 476.3 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.1193, allocations: 198.8 kB / 476.5 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1193, allocations: 4.375 kB / 476.5 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.1193, allocations: 7.938 kB / 476.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.1195, allocations: 71.33 kB / 476.5 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1195, allocations: 0 / 476.5 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1195, allocations: 0 / 476.5 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1195, allocations: 4 kB / 476.5 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.825e-05/0.1196, allocations: 19.98 kB / 476.6 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003152/0.1199, allocations: 280.8 kB / 476.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.1201, allocations: 62.61 kB / 476.9 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.18e-05/0.1202, allocations: 24.8 kB / 476.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.1202, allocations: 7.984 kB / 476.9 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001655/0.1204, allocations: 67.39 kB / 477 MB, free: 8.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.1204, allocations: 3.938 kB / 477 MB, free: 8.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004902/0.1209, allocations: 177.2 kB / 477.2 MB, free: 8.254 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.1209, allocations: 77.11 kB / 477.3 MB, free: 8.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.1211, allocations: 161.8 kB / 477.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.1211, allocations: 29.7 kB / 477.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.793e-05/0.1212, allocations: 92.12 kB / 477.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.1212, allocations: 23.66 kB / 477.6 MB, free: 7.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.1212, allocations: 17.72 kB / 477.6 MB, free: 7.816 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1213, allocations: 322.8 kB / 477.9 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.113e-05/0.1214, allocations: 15.98 kB / 477.9 MB, free: 7.477 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.458e-05/0.1215, allocations: 50.5 kB / 477.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.1216, allocations: 57.73 kB / 478 MB, free: 7.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1216, allocations: 0 / 478 MB, free: 7.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001699/0.1218, allocations: 105.6 kB / 478.1 MB, free: 7.246 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.1218, allocations: 4 kB / 478.1 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1218, allocations: 0 / 478.1 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.1218, allocations: 4 kB / 478.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.059e-05/0.1219, allocations: 15.98 kB / 478.1 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.768e-06/0.1219, allocations: 4.031 kB / 478.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.037e-05/0.122, allocations: 7.938 kB / 478.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.122, allocations: 0 / 478.1 MB, free: 7.211 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.621e-05/0.1221, allocations: 129.8 kB / 478.3 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.829e-05/0.1221, allocations: 7.906 kB / 478.3 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.817e-05/0.1221, allocations: 12.72 kB / 478.3 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1221, allocations: 0 / 478.3 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.1221, allocations: 0 / 478.3 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1222, allocations: 7.938 kB / 478.3 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003843/0.1225, allocations: 395.2 kB / 478.7 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1226, allocations: 0 / 478.7 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.193e-05/0.1226, allocations: 12 kB / 478.7 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1226, allocations: 3.938 kB / 478.7 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.1226, allocations: 0 / 478.7 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.1226, allocations: 4 kB / 478.7 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1226, allocations: 3.938 kB / 478.7 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.1228, allocations: 212.2 kB / 478.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/0.1229, allocations: 81.02 kB / 479 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.1229, allocations: 8.125 kB / 479 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.621e-05/0.123, allocations: 11.98 kB / 479 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.823e-05/0.123, allocations: 3.938 kB / 479 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.123, allocations: 4 kB / 479 MB, free: 6.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.563e-05/0.1231, allocations: 125.8 kB / 479.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1231, allocations: 0 / 479.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.1234, allocations: 31.98 kB / 479.2 MB, free: 6.07 MB / 350.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0014/0.1248, allocations: 1.131 MB / 480.3 MB, free: 5.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001623/0.125, allocations: 63.95 kB / 480.4 MB, free: 5.051 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.125, allocations: 0 / 480.4 MB, free: 5.051 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.757e-05/0.1251, allocations: 31.92 kB / 480.4 MB, free: 5.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.1254, allocations: 23.98 kB / 480.4 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.1269, allocations: 1.558 MB / 482 MB, free: 3.344 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.1271, allocations: 0.7004 MB / 482.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.822e-05/0.1272, allocations: 17.34 kB / 482.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.265e-05/0.1272, allocations: 43.34 kB / 482.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1272, allocations: 0 / 482.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01383/0.1411, allocations: 3.079 MB / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/0.1413, allocations: 245 kB / 486.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/1.871, allocations: 0 / 486.1 MB, free: 15.35 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches