Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001122/0.001123, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001264/0.001264, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2138/0.2138, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 81.88 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1192, allocations: 62.45 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003204/0.1225, allocations: 1.728 MB / 481.9 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.1241, allocations: 1.017 MB / 482.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.247e-05/0.1242, allocations: 4 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002758/0.1245, allocations: 55.75 kB / 482.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003186/0.1248, allocations: 95.53 kB / 483 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.1251, allocations: 79.67 kB / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.1252, allocations: 103.7 kB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.205e-05/0.1253, allocations: 16 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.126e-05/0.1254, allocations: 39.78 kB / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.266e-05/0.1255, allocations: 35.78 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.1255, allocations: 4 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.1256, allocations: 47.97 kB / 483.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.71e-05/0.1257, allocations: 23.92 kB / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.204e-05/0.1258, allocations: 51.56 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.126, allocations: 131.8 kB / 483.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.126, allocations: 4 kB / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.126, allocations: 0 / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.126, allocations: 3.938 kB / 483.6 MB, free: 1.746 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.0005056/0.1265, allocations: 454.6 kB / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.1266, allocations: 8.031 kB / 484 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.402e-05/0.1266, allocations: 34.75 kB / 484.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.1267, allocations: 16.75 kB / 484.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.1269, allocations: 212 kB / 484.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.1269, allocations: 8.312 kB / 484.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.1269, allocations: 15.92 kB / 484.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.1271, allocations: 57.67 kB / 484.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.1271, allocations: 0 / 484.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.1271, allocations: 0 / 484.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.1271, allocations: 4 kB / 484.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.358e-05/0.1272, allocations: 15.98 kB / 484.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.1275, allocations: 308.7 kB / 484.7 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.1277, allocations: 62.62 kB / 484.7 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.688e-05/0.1278, allocations: 20.84 kB / 484.8 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.1278, allocations: 0 / 484.8 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.128, allocations: 67.39 kB / 484.8 MB, free: 320 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.128, allocations: 0 / 484.8 MB, free: 320 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005271/0.1286, allocations: 185 kB / 485 MB, free: 128 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.1286, allocations: 51.41 kB / 485.1 MB, free: 64 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.1289, allocations: 284.2 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1289, allocations: 33.69 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.391e-05/0.129, allocations: 112.1 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.129, allocations: 23.66 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.129, allocations: 25.7 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.405e-05/0.1291, allocations: 330.8 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.097e-05/0.1292, allocations: 27.92 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.55e-05/0.1293, allocations: 37.7 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.1294, allocations: 53.7 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1294, allocations: 0 / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001853/0.1296, allocations: 109.4 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.1296, allocations: 10.53 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1296, allocations: 4 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1296, allocations: 0 / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.531e-05/0.1297, allocations: 15.94 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1298, allocations: 4.172 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.112e-05/0.1298, allocations: 7.938 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.1298, allocations: 7.938 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 9.986e-05/0.1299, allocations: 140.6 kB / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.13, allocations: 15.81 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.839e-05/0.13, allocations: 33.38 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.13, allocations: 0 / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.13, allocations: 384 / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.13, allocations: 3.938 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004143/0.1305, allocations: 411.3 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1305, allocations: 0 / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.505e-05/0.1305, allocations: 8 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1305, allocations: 3.938 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1305, allocations: 8.016 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1306, allocations: 4 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1306, allocations: 0 / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.1308, allocations: 208.3 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.37e-05/0.1308, allocations: 85.02 kB / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.1309, allocations: 7.938 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.218e-05/0.131, allocations: 7.984 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.221e-05/0.131, allocations: 8 kB / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.131, allocations: 4 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001724/0.1312, allocations: 216.6 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1312, allocations: 0 / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.1315, allocations: 31.91 kB / 487.3 MB, free: 13.67 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.001374/0.1329, allocations: 1.096 MB / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001753/0.133, allocations: 67.91 kB / 488.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1331, allocations: 0 / 488.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.85e-05/0.1331, allocations: 24 kB / 488.5 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.0003387/0.1335, allocations: 27.34 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.001889/0.1354, allocations: 1.856 MB / 490.4 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.1357, allocations: 0.7158 MB / 491.1 MB, free: 9.906 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.959e-05/0.1358, allocations: 21.17 kB / 491.1 MB, free: 9.887 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.378e-05/0.1359, allocations: 43.42 kB / 491.1 MB, free: 9.844 MB / 366.1 MB Notification: Performance of SimCode: time 3.757e-06/0.1359, allocations: 0 / 491.1 MB, free: 9.844 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02071/0.1566, allocations: 3.764 MB / 494.9 MB, free: 6.145 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.85/8.006, allocations: 19.72 kB / 494.9 MB, free: 6.125 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_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_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches