Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",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.0007722/0.0007723, allocations: 96.02 kB / 17.35 MB, free: 6.367 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.0008596/0.0008597, allocations: 176.1 kB / 18.25 MB, free: 5.523 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.313/1.313, allocations: 223.3 MB / 242.3 MB, free: 212 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.211/0.211, allocations: 44.25 MB / 337.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003083/0.0003083, allocations: 12.28 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1127, allocations: 61.93 MB / 472.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002166/0.115, allocations: 1.417 MB / 473.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.1163, allocations: 0.8382 MB / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.235e-05/0.1164, allocations: 0 / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002985/0.1167, allocations: 55.86 kB / 474.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001607/0.1169, allocations: 39.83 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.1171, allocations: 106.1 kB / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.1173, allocations: 87.7 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.357e-05/0.1174, allocations: 12.22 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.663e-05/0.1175, allocations: 39.8 kB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.383e-05/0.1176, allocations: 35.78 kB / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.1176, allocations: 4 kB / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.517e-05/0.1177, allocations: 39.98 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.366e-05/0.1177, allocations: 19.91 kB / 475.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.299e-05/0.1178, allocations: 61.44 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.118, allocations: 119.8 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.118, allocations: 0 / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.118, allocations: 0 / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.118, allocations: 3.938 kB / 475.2 MB, free: 10.35 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.000536/0.1186, allocations: 411.1 kB / 475.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.1186, allocations: 8.031 kB / 475.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.049e-05/0.1187, allocations: 38.69 kB / 475.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.1187, allocations: 16.75 kB / 475.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.1189, allocations: 212.5 kB / 475.9 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.119, allocations: 4.375 kB / 475.9 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.119, allocations: 7.938 kB / 475.9 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.1191, allocations: 53.67 kB / 476 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1192, allocations: 4 kB / 476 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1192, allocations: 0 / 476 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1192, allocations: 0 / 476 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.432e-05/0.1193, allocations: 23.92 kB / 476 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003447/0.1196, allocations: 292.8 kB / 476.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.1198, allocations: 66.67 kB / 476.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.945e-05/0.1198, allocations: 20.84 kB / 476.4 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.1199, allocations: 0 / 476.4 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.12, allocations: 75.23 kB / 476.5 MB, free: 8.969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1201, allocations: 0 / 476.5 MB, free: 8.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004887/0.1206, allocations: 173.2 kB / 476.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.1206, allocations: 59.41 kB / 476.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.1208, allocations: 222.6 kB / 476.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.1208, allocations: 33.69 kB / 476.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.351e-05/0.1209, allocations: 100.1 kB / 477 MB, free: 8.348 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.1209, allocations: 27.64 kB / 477.1 MB, free: 8.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.478e-05/0.1209, allocations: 17.72 kB / 477.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.475e-05/0.121, allocations: 322.8 kB / 477.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.732e-05/0.1211, allocations: 23.98 kB / 477.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.125e-05/0.1212, allocations: 37.7 kB / 477.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.1213, allocations: 65.62 kB / 477.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1213, allocations: 0 / 477.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001654/0.1215, allocations: 97.5 kB / 477.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.1215, allocations: 4 kB / 477.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1215, allocations: 4 kB / 477.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.1215, allocations: 0 / 477.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.526e-05/0.1216, allocations: 23.95 kB / 477.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1216, allocations: 192 / 477.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.625e-05/0.1217, allocations: 7.938 kB / 477.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.1217, allocations: 11.94 kB / 477.7 MB, free: 7.684 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 9.014e-05/0.1218, allocations: 133.8 kB / 477.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.1218, allocations: 11.81 kB / 477.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.264e-05/0.1218, allocations: 25.55 kB / 477.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1218, allocations: 0 / 477.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1219, allocations: 0 / 477.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.1219, allocations: 7.938 kB / 477.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003893/0.1223, allocations: 399.3 kB / 478.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1223, allocations: 0 / 478.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-05/0.1223, allocations: 11.98 kB / 478.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.1223, allocations: 7.875 kB / 478.2 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1223, allocations: 0 / 478.2 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.1223, allocations: 4 kB / 478.2 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1223, allocations: 0 / 478.2 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.1226, allocations: 204.2 kB / 478.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.882e-05/0.1226, allocations: 89 kB / 478.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.1226, allocations: 7.938 kB / 478.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.842e-05/0.1227, allocations: 4 kB / 478.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.1228, allocations: 7.984 kB / 478.5 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.1228, allocations: 4 kB / 478.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.1229, allocations: 172.3 kB / 478.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1229, allocations: 0 / 478.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.1232, allocations: 31.98 kB / 478.8 MB, free: 6.48 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.001371/0.1245, allocations: 1.101 MB / 479.9 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001679/0.1247, allocations: 63.84 kB / 479.9 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1247, allocations: 0 / 479.9 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.109e-05/0.1248, allocations: 36.06 kB / 480 MB, free: 5.438 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.1251, allocations: 26.78 kB / 480 MB, free: 5.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.1269, allocations: 1.738 MB / 481.7 MB, free: 3.594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.1271, allocations: 0.7082 MB / 482.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.759e-05/0.1272, allocations: 16.88 kB / 482.4 MB, free: 2.844 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.396e-05/0.1272, allocations: 43.42 kB / 482.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1272, allocations: 0 / 482.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01301/0.1403, allocations: 3.102 MB / 485.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/0.1405, allocations: 233.5 kB / 485.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/1.818, allocations: 3.938 kB / 485.8 MB, free: 15.57 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches