Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001129/0.001129, allocations: 104.1 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.00126/0.00126, 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.472/1.472, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.241/0.241, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 78 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1187, allocations: 62.44 MB / 480.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003349/0.1221, allocations: 1.75 MB / 481.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.1239, allocations: 1.029 MB / 482.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.359e-05/0.124, allocations: 4 kB / 482.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.1244, allocations: 83.7 kB / 483 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003417/0.1247, allocations: 111.6 kB / 483.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.125, allocations: 79.66 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.1252, allocations: 123.6 kB / 483.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.165e-05/0.1253, allocations: 19.97 kB / 483.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.744e-05/0.1254, allocations: 51.78 kB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.1255, allocations: 55.77 kB / 483.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.1255, allocations: 4 kB / 483.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.1257, allocations: 63.97 kB / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.158e-05/0.1257, allocations: 23.91 kB / 483.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.276e-05/0.1258, allocations: 43.69 kB / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.126, allocations: 135.8 kB / 483.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.1261, allocations: 4 kB / 483.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1261, allocations: 3.938 kB / 483.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.1261, allocations: 0 / 483.7 MB, free: 1.562 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004754/0.1266, allocations: 430.9 kB / 484.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.1266, allocations: 12.03 kB / 484.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.672e-05/0.1266, allocations: 34.75 kB / 484.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.1267, allocations: 12.75 kB / 484.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.1269, allocations: 220 kB / 484.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.1269, allocations: 384 / 484.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.127, allocations: 7.938 kB / 484.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.1271, allocations: 65.59 kB / 484.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1271, allocations: 3.984 kB / 484.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1272, allocations: 3.938 kB / 484.5 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.1272, allocations: 0 / 484.5 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.021e-05/0.1273, allocations: 27.97 kB / 484.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.1277, allocations: 304.8 kB / 484.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.128, allocations: 66.48 kB / 484.9 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.501e-05/0.1281, allocations: 24.98 kB / 484.9 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.1281, allocations: 3.938 kB / 484.9 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000267/0.1284, allocations: 75.38 kB / 485 MB, free: 124 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.1284, allocations: 0 / 485 MB, free: 124 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008708/0.1293, allocations: 237.7 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.1293, allocations: 59.34 kB / 485.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.1296, allocations: 220.3 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.1296, allocations: 29.7 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.1297, allocations: 112.1 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.909e-05/0.1298, allocations: 31.55 kB / 485.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.379e-05/0.1299, allocations: 33.66 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.13, allocations: 334.8 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.664e-05/0.1301, allocations: 27.98 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.794e-05/0.1302, allocations: 41.7 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.1304, allocations: 81.64 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1304, allocations: 0 / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002613/0.1307, allocations: 129.4 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.1307, allocations: 10.5 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1307, allocations: 0 / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.1307, allocations: 0 / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.836e-05/0.1308, allocations: 23.92 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1308, allocations: 7.938 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.564e-05/0.1309, allocations: 0 / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.1309, allocations: 7.984 kB / 486.3 MB, free: 14.69 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 (13): * Single equations (assignments): 13 * 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.0001352/0.1311, allocations: 129.9 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.1311, allocations: 15.81 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.69e-05/0.1312, allocations: 21.39 kB / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.1312, allocations: 7.938 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.1312, allocations: 0 / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1312, allocations: 3.938 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006713/0.1319, allocations: 463.9 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1319, allocations: 0 / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.273e-05/0.132, allocations: 15.98 kB / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.132, allocations: 0 / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.132, allocations: 4 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.132, allocations: 0 / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.132, allocations: 3.938 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.1323, allocations: 237.3 kB / 487.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.565e-05/0.1324, allocations: 96.91 kB / 487.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.1324, allocations: 4 kB / 487.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.958e-05/0.1325, allocations: 4 kB / 487.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.1326, allocations: 11.98 kB / 487.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.1326, allocations: 4 kB / 487.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.1327, allocations: 165.2 kB / 487.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.475e-06/0.1327, allocations: 0 / 487.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.133, allocations: 43.86 kB / 487.5 MB, free: 13.37 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001576/0.1346, allocations: 1.15 MB / 488.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002358/0.1349, allocations: 87.84 kB / 488.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.1349, allocations: 0 / 488.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.226e-05/0.135, allocations: 47.86 kB / 488.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.1354, allocations: 26.97 kB / 488.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.1377, allocations: 1.802 MB / 490.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.1381, allocations: 0.7197 MB / 491.4 MB, free: 9.578 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.633e-05/0.1382, allocations: 24.61 kB / 491.4 MB, free: 9.555 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.185e-05/0.1383, allocations: 39.42 kB / 491.4 MB, free: 9.516 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1383, allocations: 0 / 491.4 MB, free: 9.516 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01937/0.1577, allocations: 3.819 MB / 495.2 MB, free: 5.766 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.926/8.084, allocations: 6.125 kB / 495.2 MB, free: 5.762 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches