Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001093/0.001093, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001235/0.001235, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2468/0.2468, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 78.7 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.113, allocations: 62.44 MB / 480.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002917/0.116, allocations: 1.727 MB / 481.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.1175, allocations: 1.021 MB / 482.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.569e-05/0.1176, allocations: 4 kB / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.1178, allocations: 51.77 kB / 482.9 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.1181, allocations: 103.5 kB / 483 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000194/0.1183, allocations: 75.72 kB / 483.1 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.1185, allocations: 103.6 kB / 483.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.182e-05/0.1186, allocations: 19.97 kB / 483.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.889e-05/0.1187, allocations: 43.78 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.778e-05/0.1188, allocations: 31.8 kB / 483.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.1188, allocations: 4 kB / 483.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.344e-05/0.1189, allocations: 47.97 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.274e-05/0.1189, allocations: 23.92 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.91e-05/0.119, allocations: 43.67 kB / 483.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.1192, allocations: 139.7 kB / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1192, allocations: 0 / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.1192, allocations: 0 / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1192, allocations: 4 kB / 483.6 MB, free: 1.699 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.0005117/0.1197, allocations: 446.7 kB / 484 MB, free: 1.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.1198, allocations: 12.03 kB / 484 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.634e-05/0.1198, allocations: 30.75 kB / 484 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.69e-05/0.1199, allocations: 16.75 kB / 484.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.1201, allocations: 213 kB / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.1201, allocations: 8.359 kB / 484.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.1202, allocations: 3.938 kB / 484.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.1203, allocations: 65.61 kB / 484.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1203, allocations: 4 kB / 484.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.1203, allocations: 0 / 484.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1203, allocations: 0 / 484.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.191e-05/0.1204, allocations: 19.98 kB / 484.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003363/0.1208, allocations: 292.9 kB / 484.7 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.1209, allocations: 66.61 kB / 484.7 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.11e-05/0.121, allocations: 20.84 kB / 484.7 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.121, allocations: 7.938 kB / 484.8 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.1212, allocations: 67.33 kB / 484.8 MB, free: 284 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1212, allocations: 0 / 484.8 MB, free: 284 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005094/0.1217, allocations: 185 kB / 485 MB, free: 92 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.1218, allocations: 55.41 kB / 485.1 MB, free: 24 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.122, allocations: 270.9 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.1221, allocations: 33.7 kB / 485.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.1221, allocations: 112.1 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.1222, allocations: 27.64 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.1222, allocations: 17.72 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1223, allocations: 326.8 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.309e-05/0.1224, allocations: 23.98 kB / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.34e-05/0.1225, allocations: 41.64 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.1226, allocations: 61.77 kB / 485.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1226, allocations: 0 / 485.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001897/0.1228, allocations: 109.4 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.1228, allocations: 4 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1228, allocations: 32 / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.1228, allocations: 8 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.209e-05/0.1229, allocations: 15.98 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.1229, allocations: 0 / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.7e-05/0.123, allocations: 7.938 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.669e-06/0.123, allocations: 4 kB / 486.1 MB, free: 14.93 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.0001105/0.1231, allocations: 133.8 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.1232, allocations: 15.81 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.561e-05/0.1232, allocations: 21.39 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1232, allocations: 4 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1232, allocations: 4.375 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1232, allocations: 3.938 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004296/0.1237, allocations: 411.2 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.1237, allocations: 0 / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.444e-05/0.1237, allocations: 11.98 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1237, allocations: 7.922 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.1237, allocations: 8 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.1238, allocations: 4.031 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1238, allocations: 0 / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.124, allocations: 204.3 kB / 486.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.459e-05/0.124, allocations: 88.95 kB / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.1241, allocations: 15.86 kB / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.735e-05/0.1241, allocations: 0 / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.1242, allocations: 8 kB / 487 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.1242, allocations: 7.984 kB / 487 MB, free: 13.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001691/0.1244, allocations: 208.4 kB / 487.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1244, allocations: 0 / 487.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.1246, allocations: 24 kB / 487.2 MB, free: 13.66 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.001362/0.126, allocations: 1.097 MB / 488.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.1262, allocations: 59.91 kB / 488.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1262, allocations: 4.062 kB / 488.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.632e-05/0.1263, allocations: 24 kB / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.1266, allocations: 35.16 kB / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.1285, allocations: 1.827 MB / 490.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.1287, allocations: 0.7119 MB / 491 MB, free: 9.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.438e-05/0.1288, allocations: 20.88 kB / 491 MB, free: 9.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.6e-05/0.1289, allocations: 43.42 kB / 491.1 MB, free: 9.867 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1289, allocations: 0 / 491.1 MB, free: 9.867 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0203/0.1492, allocations: 3.704 MB / 494.8 MB, free: 6.238 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.297/8.446, allocations: 14.84 kB / 494.8 MB, free: 6.227 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches