Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001166/0.001166, allocations: 104.6 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.001539/0.001539, allocations: 214.4 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.378/1.378, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2315/0.2315, allocations: 46.1 MB / 344.1 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.001681, allocations: 82.22 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1095, allocations: 62.44 MB / 480.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003518/0.113, allocations: 1.724 MB / 481.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.115, allocations: 1.021 MB / 482.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.1152, allocations: 0 / 482.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004168/0.1157, allocations: 91.69 kB / 483 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004563/0.1161, allocations: 111.5 kB / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.1164, allocations: 79.67 kB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002353/0.1167, allocations: 119.7 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1168, allocations: 11.98 kB / 483.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.1169, allocations: 51.78 kB / 483.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.117, allocations: 63.75 kB / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.1171, allocations: 4 kB / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.1172, allocations: 43.98 kB / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.263e-05/0.1173, allocations: 23.91 kB / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.953e-05/0.1173, allocations: 39.69 kB / 483.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.1176, allocations: 127.8 kB / 483.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1176, allocations: 0 / 483.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1176, allocations: 0 / 483.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.81e-06/0.1176, allocations: 0 / 483.6 MB, free: 1.629 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.0005764/0.1182, allocations: 422.9 kB / 484.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1182, allocations: 12.03 kB / 484.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.404e-05/0.1183, allocations: 38.69 kB / 484.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.1183, allocations: 16.75 kB / 484.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.1186, allocations: 212 kB / 484.3 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.1186, allocations: 4.375 kB / 484.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.1186, allocations: 7.938 kB / 484.3 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.1188, allocations: 57.61 kB / 484.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1188, allocations: 3.938 kB / 484.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.1188, allocations: 4 kB / 484.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1188, allocations: 0 / 484.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.609e-05/0.1189, allocations: 19.98 kB / 484.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.1193, allocations: 288.9 kB / 484.7 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.1196, allocations: 58.62 kB / 484.8 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.442e-05/0.1196, allocations: 24.84 kB / 484.8 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.21e-05/0.1197, allocations: 0 / 484.8 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002626/0.1199, allocations: 71.39 kB / 484.9 MB, free: 244 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.12, allocations: 0 / 484.9 MB, free: 244 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006556/0.1206, allocations: 181 kB / 485 MB, free: 56 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.428e-05/0.1207, allocations: 55.41 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.121, allocations: 228.2 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.121, allocations: 29.7 kB / 485.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.329e-05/0.1211, allocations: 104.1 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.1211, allocations: 23.66 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.528e-05/0.1212, allocations: 25.7 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1214, allocations: 326.8 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.834e-05/0.1214, allocations: 19.94 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.249e-05/0.1215, allocations: 33.7 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.1217, allocations: 69.77 kB / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1217, allocations: 0 / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001997/0.1219, allocations: 101.4 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.1219, allocations: 8 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1219, allocations: 0 / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1219, allocations: 0 / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.813e-05/0.122, allocations: 16 kB / 486 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.1221, allocations: 8.031 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.318e-05/0.1221, allocations: 7.922 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.1221, allocations: 4 kB / 486.1 MB, free: 14.95 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.0001134/0.1222, allocations: 130 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.1223, allocations: 11.89 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.398e-05/0.1223, allocations: 21.34 kB / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1224, allocations: 0 / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1224, allocations: 0 / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.1224, allocations: 7.922 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004848/0.1229, allocations: 411.2 kB / 486.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1229, allocations: 0 / 486.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.973e-05/0.1229, allocations: 8 kB / 486.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.123, allocations: 3.938 kB / 486.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.123, allocations: 7.984 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.123, allocations: 4 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.123, allocations: 0 / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.1232, allocations: 204.6 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.88e-05/0.1233, allocations: 92.92 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.1233, allocations: 3.938 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.499e-05/0.1234, allocations: 12 kB / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.1235, allocations: 7.984 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.1235, allocations: 0 / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001473/0.1236, allocations: 169.2 kB / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1237, allocations: 4 kB / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.1239, allocations: 24 kB / 487.2 MB, free: 13.74 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.001474/0.1254, allocations: 1.09 MB / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.1256, allocations: 63.91 kB / 488.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1256, allocations: 0 / 488.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.453e-05/0.1257, allocations: 31.97 kB / 488.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.1261, allocations: 30.78 kB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.1281, allocations: 1.702 MB / 490.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.1285, allocations: 0.7118 MB / 490.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.334e-05/0.1286, allocations: 16.88 kB / 490.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.354e-05/0.1287, allocations: 39.42 kB / 490.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1287, allocations: 4 kB / 490.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5438/0.6725, allocations: 3.484 MB / 494.3 MB, free: 6.672 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.095/8.768, allocations: 18.73 kB / 494.4 MB, free: 6.656 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_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_Test41.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches