Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001698/0.001698, allocations: 102.8 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.00198/0.00198, 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.364/1.364, 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.2035/0.2034, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 78.81 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1199, allocations: 62.44 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.004083/0.124, allocations: 1.732 MB / 481.9 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.1258, allocations: 1.013 MB / 482.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.397e-05/0.1259, allocations: 0 / 482.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.1261, allocations: 43.77 kB / 482.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003511/0.1266, allocations: 103.5 kB / 483 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.1268, allocations: 75.67 kB / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.127, allocations: 107.6 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1271, allocations: 8 kB / 483.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.711e-05/0.1272, allocations: 43.78 kB / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.932e-05/0.1273, allocations: 35.78 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1273, allocations: 4 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.1275, allocations: 47.98 kB / 483.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.454e-05/0.1275, allocations: 19.92 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.664e-05/0.1276, allocations: 39.73 kB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.1278, allocations: 111.9 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1278, allocations: 0 / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1278, allocations: 0 / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.1278, allocations: 0 / 483.5 MB, free: 1.789 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.0006077/0.1285, allocations: 418.9 kB / 483.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.1285, allocations: 8.031 kB / 483.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.276e-05/0.1286, allocations: 42.73 kB / 484 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.328e-05/0.1286, allocations: 12.84 kB / 484 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.1289, allocations: 208.8 kB / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.1289, allocations: 4.312 kB / 484.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.129, allocations: 7.938 kB / 484.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.1291, allocations: 53.67 kB / 484.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1292, allocations: 7.844 kB / 484.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.1292, allocations: 4 kB / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1292, allocations: 0 / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.276e-05/0.1293, allocations: 19.98 kB / 484.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.1297, allocations: 288.9 kB / 484.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.1299, allocations: 62.61 kB / 484.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.702e-05/0.13, allocations: 16.86 kB / 484.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.13, allocations: 0 / 484.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001941/0.1302, allocations: 75.38 kB / 484.7 MB, free: 420 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.462e-06/0.1302, allocations: 0 / 484.7 MB, free: 420 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005443/0.1308, allocations: 169.5 kB / 484.9 MB, free: 244 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.1308, allocations: 51.41 kB / 484.9 MB, free: 180 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.131, allocations: 206.3 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.131, allocations: 25.7 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.504e-05/0.1311, allocations: 108.1 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.1311, allocations: 23.7 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/0.1312, allocations: 21.72 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1313, allocations: 322.8 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.742e-05/0.1314, allocations: 23.98 kB / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.455e-05/0.1315, allocations: 41.7 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.1316, allocations: 73.67 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1316, allocations: 0 / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001837/0.1318, allocations: 101.4 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.1318, allocations: 10.34 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1318, allocations: 0 / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1318, allocations: 0 / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.944e-05/0.132, allocations: 15.98 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.132, allocations: 4 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.852e-05/0.132, allocations: 3.938 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.132, allocations: 8.031 kB / 485.9 MB, free: 15.16 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.0001113/0.1322, allocations: 125.8 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.1322, allocations: 11.84 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.513e-05/0.1322, allocations: 17.41 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1323, allocations: 3.938 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1323, allocations: 0 / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.1323, allocations: 7.922 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000475/0.1328, allocations: 399.2 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1328, allocations: 0 / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.368e-05/0.1328, allocations: 8 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.1328, allocations: 3.938 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.1328, allocations: 11.98 kB / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1329, allocations: 0 / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1329, allocations: 0 / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.1331, allocations: 196.3 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.623e-05/0.1332, allocations: 88.92 kB / 486.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.1332, allocations: 11.94 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-05/0.1333, allocations: 7.922 kB / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.1333, allocations: 7.984 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.1333, allocations: 4 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001158/0.1334, allocations: 148.2 kB / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1335, allocations: 0 / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.1337, allocations: 20 kB / 486.9 MB, free: 14 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.001464/0.1352, allocations: 1.104 MB / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001858/0.1354, allocations: 67.89 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.1354, allocations: 0 / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.224e-05/0.1355, allocations: 27.94 kB / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.1358, allocations: 38.25 kB / 488.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.1377, allocations: 1.644 MB / 489.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.138, allocations: 0.7041 MB / 490.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.721e-05/0.1381, allocations: 16.88 kB / 490.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.205e-05/0.1381, allocations: 35.42 kB / 490.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1381, allocations: 0 / 490.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05365/0.1918, allocations: 3.369 MB / 493.9 MB, free: 7.094 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.269/8.461, allocations: 18.3 kB / 494 MB, free: 7.078 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_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_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches