Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 102.1 kB / 16.27 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 187.8 kB / 17.19 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.595/1.595, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2373/0.2373, allocations: 43.52 MB / 313.9 MB, free: 0.543 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 66.8 kB / 382.8 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1287, allocations: 57.79 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003825/0.1326, allocations: 1.689 MB / 442.3 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.1342, allocations: 0.8 MB / 443.1 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.1343, allocations: 3.938 kB / 443.1 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003796/0.1347, allocations: 87.77 kB / 443.2 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003017/0.1351, allocations: 83.64 kB / 443.3 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.1354, allocations: 79.77 kB / 443.4 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.1356, allocations: 115.7 kB / 443.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1357, allocations: 8.172 kB / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.1359, allocations: 55.77 kB / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.136, allocations: 55.83 kB / 443.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.136, allocations: 7.984 kB / 443.6 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.1361, allocations: 39.98 kB / 443.7 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.202e-05/0.1362, allocations: 27.86 kB / 443.7 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.794e-05/0.1363, allocations: 39.73 kB / 443.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.1365, allocations: 119.6 kB / 443.8 MB, free: 3.598 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1365, allocations: 4 kB / 443.8 MB, free: 3.594 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1365, allocations: 0 / 443.8 MB, free: 3.594 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.1365, allocations: 0 / 443.8 MB, free: 3.594 MB / 318.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.0005133/0.137, allocations: 422.8 kB / 444.3 MB, free: 3.133 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.1371, allocations: 11.89 kB / 444.3 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.271e-05/0.1371, allocations: 30.75 kB / 444.3 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.1372, allocations: 12.84 kB / 444.3 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.1374, allocations: 223.9 kB / 444.5 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.1374, allocations: 4.375 kB / 444.5 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.1375, allocations: 7.938 kB / 444.5 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.1376, allocations: 53.67 kB / 444.6 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.1377, allocations: 0 / 444.6 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1377, allocations: 0 / 444.6 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.1377, allocations: 0 / 444.6 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.98e-05/0.1378, allocations: 19.98 kB / 444.6 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/0.1381, allocations: 300.8 kB / 444.9 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.1383, allocations: 54.69 kB / 445 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.912e-05/0.1384, allocations: 20.84 kB / 445 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.1384, allocations: 3.938 kB / 445 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002514/0.1387, allocations: 67.39 kB / 445 MB, free: 2.211 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.863e-06/0.1387, allocations: 4 kB / 445 MB, free: 2.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005419/0.1392, allocations: 181.3 kB / 445.2 MB, free: 2.023 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.1393, allocations: 51.41 kB / 445.3 MB, free: 1.961 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.1394, allocations: 234.5 kB / 445.5 MB, free: 1.723 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.1395, allocations: 29.7 kB / 445.5 MB, free: 1.688 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.235e-05/0.1395, allocations: 108.1 kB / 445.6 MB, free: 1.578 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.1395, allocations: 19.66 kB / 445.7 MB, free: 1.559 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.1396, allocations: 33.7 kB / 445.7 MB, free: 1.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.041e-05/0.1396, allocations: 322.8 kB / 446 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.383e-05/0.1397, allocations: 20 kB / 446 MB, free: 1.176 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.406e-05/0.1398, allocations: 33.7 kB / 446.1 MB, free: 1.137 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.586e-05/0.1399, allocations: 53.7 kB / 446.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1399, allocations: 4 kB / 446.1 MB, free: 1.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001596/0.14, allocations: 113.4 kB / 446.2 MB, free: 0.957 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1401, allocations: 4 kB / 446.2 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1401, allocations: 4 kB / 446.2 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.1401, allocations: 3.984 kB / 446.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.36e-05/0.1402, allocations: 15.94 kB / 446.3 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1402, allocations: 0 / 446.3 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.671e-05/0.1402, allocations: 11.92 kB / 446.3 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.1403, allocations: 8 kB / 446.3 MB, free: 0.9102 MB / 318.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 7.773e-05/0.1403, allocations: 137.3 kB / 446.4 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.1404, allocations: 15.8 kB / 446.4 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.425e-05/0.1404, allocations: 21.41 kB / 446.4 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1404, allocations: 0 / 446.4 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1404, allocations: 0 / 446.4 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1404, allocations: 3.938 kB / 446.4 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003279/0.1408, allocations: 395.3 kB / 446.8 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1408, allocations: 0 / 446.8 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.13e-05/0.1408, allocations: 12.03 kB / 446.8 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1408, allocations: 3.938 kB / 446.8 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.1409, allocations: 0 / 446.8 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1409, allocations: 4 kB / 446.9 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.1409, allocations: 0 / 446.9 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.1411, allocations: 204.4 kB / 447.1 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.558e-05/0.1411, allocations: 92.91 kB / 447.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.1412, allocations: 11.88 kB / 447.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-05/0.1412, allocations: 4 kB / 447.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.1413, allocations: 11.98 kB / 447.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.1413, allocations: 0 / 447.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001479/0.1415, allocations: 167.2 kB / 447.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1415, allocations: 0 / 447.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.1417, allocations: 23.98 kB / 447.4 MB, free: 15.72 MB / 334.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.001647/0.1434, allocations: 1.108 MB / 448.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002241/0.1436, allocations: 71.89 kB / 448.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.1437, allocations: 0 / 448.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.793e-05/0.1437, allocations: 27.92 kB / 448.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.1441, allocations: 30.02 kB / 448.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.1461, allocations: 1.714 MB / 450.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.1464, allocations: 0.7156 MB / 451 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.058e-05/0.1465, allocations: 13.19 kB / 451 MB, free: 11.99 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.881e-05/0.1465, allocations: 43.41 kB / 451.1 MB, free: 11.95 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1465, allocations: 0 / 451.1 MB, free: 11.95 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/0.1703, allocations: 3.46 MB / 454.5 MB, free: 8.469 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.629/7.8, allocations: 15.81 kB / 454.6 MB, free: 8.453 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches