Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001178/0.001178, allocations: 102.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001235, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2113/0.2113, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 82.44 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1099, allocations: 62.44 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.00306/0.113, allocations: 1.732 MB / 481.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002326/0.1154, allocations: 1.623 MB / 483.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.1155, allocations: 0 / 483.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.1159, allocations: 35.77 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00043/0.1164, allocations: 111.5 kB / 483.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.1167, allocations: 79.66 kB / 483.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.1169, allocations: 103.7 kB / 483.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.117, allocations: 11.98 kB / 483.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.1172, allocations: 43.78 kB / 483.9 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.1174, allocations: 47.77 kB / 483.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.1174, allocations: 4 kB / 483.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002754/0.1177, allocations: 111.9 kB / 484 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.465e-05/0.1178, allocations: 19.92 kB / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.74e-05/0.1179, allocations: 31.8 kB / 484.1 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004348/0.1183, allocations: 171.8 kB / 484.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1183, allocations: 0 / 484.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1183, allocations: 0 / 484.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1183, allocations: 0 / 484.2 MB, free: 1.055 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.0006959/0.119, allocations: 427 kB / 484.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.1191, allocations: 8.031 kB / 484.7 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.709e-05/0.1191, allocations: 38.75 kB / 484.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.062e-05/0.1192, allocations: 16.83 kB / 484.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.1195, allocations: 223.4 kB / 484.9 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.1195, allocations: 3.938 kB / 484.9 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.1195, allocations: 0 / 484.9 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.1197, allocations: 67.39 kB / 485 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1197, allocations: 0 / 485 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1197, allocations: 0 / 485 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1198, allocations: 4 kB / 485 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.982e-05/0.1198, allocations: 23.98 kB / 485 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.1203, allocations: 285 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.1204, allocations: 54.62 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.775e-05/0.1205, allocations: 24.84 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.1205, allocations: 8 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002124/0.1208, allocations: 63.39 kB / 485.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1208, allocations: 0 / 485.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005723/0.1214, allocations: 177.4 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.729e-05/0.1214, allocations: 85.05 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.1216, allocations: 165.5 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.1217, allocations: 29.64 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.1217, allocations: 104.1 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.1218, allocations: 23.66 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.939e-05/0.1218, allocations: 29.7 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.122, allocations: 322.8 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.273e-05/0.1221, allocations: 24 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.164e-05/0.1221, allocations: 42.56 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.1223, allocations: 57.73 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1223, allocations: 0 / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002386/0.1225, allocations: 101.5 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1226, allocations: 4 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.1226, allocations: 3.984 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1226, allocations: 4 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.1227, allocations: 19.88 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1227, allocations: 0 / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.33e-05/0.1228, allocations: 8.031 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1228, allocations: 3.984 kB / 486.6 MB, free: 14.4 MB / 366.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 0.0001107/0.1229, allocations: 121.8 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.123, allocations: 11.81 kB / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.521e-05/0.123, allocations: 12.72 kB / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/0.1231, allocations: 11.92 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.1231, allocations: 0 / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1231, allocations: 0 / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000483/0.1236, allocations: 395.3 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.1236, allocations: 3.938 kB / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.69e-05/0.1236, allocations: 8 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1236, allocations: 0 / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.1237, allocations: 8 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1237, allocations: 0 / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1237, allocations: 0 / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.1239, allocations: 208.2 kB / 487.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.103e-05/0.124, allocations: 88.95 kB / 487.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.124, allocations: 4 kB / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.833e-05/0.1241, allocations: 4 kB / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.1241, allocations: 11.97 kB / 487.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.1242, allocations: 4 kB / 487.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001185/0.1243, allocations: 123.4 kB / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1243, allocations: 0 / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000318/0.1246, allocations: 63.86 kB / 487.7 MB, free: 13.23 MB / 366.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.001816/0.1264, allocations: 1.176 MB / 488.9 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002143/0.1267, allocations: 67.88 kB / 488.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1267, allocations: 0 / 488.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.79e-05/0.1268, allocations: 31.98 kB / 489 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.1271, allocations: 29.28 kB / 489 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.1291, allocations: 1.577 MB / 490.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.1294, allocations: 0.6973 MB / 491.3 MB, free: 9.703 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.959e-05/0.1295, allocations: 16.88 kB / 491.3 MB, free: 9.688 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.982e-05/0.1296, allocations: 43.41 kB / 491.3 MB, free: 9.645 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1296, allocations: 0 / 491.3 MB, free: 9.645 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.1527, allocations: 3.933 MB / 495.3 MB, free: 5.789 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.044/9.197, allocations: 3.938 kB / 495.3 MB, free: 5.785 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches