Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001069/0.001069, allocations: 104 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.001092/0.001092, 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.367/1.367, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2148/0.2148, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 77.81 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1174, allocations: 62.45 MB / 480.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.005384/0.1229, allocations: 2.273 MB / 482.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003439/0.1263, allocations: 1.31 MB / 483.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002631/0.1266, allocations: 4 kB / 483.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005598/0.1272, allocations: 127.3 kB / 483.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008957/0.1281, allocations: 254.9 kB / 484.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006438/0.1288, allocations: 183.5 kB / 484.3 MB, free: 1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000754/0.1296, allocations: 454.7 kB / 484.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.1299, allocations: 69.33 kB / 484.8 MB, free: 496 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004632/0.1303, allocations: 259.2 kB / 485 MB, free: 236 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002578/0.1306, allocations: 155.1 kB / 485.2 MB, free: 80 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.95e-05/0.1307, allocations: 24 kB / 485.2 MB, free: 56 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002247/0.1309, allocations: 68.06 kB / 485.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.1311, allocations: 131.4 kB / 485.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.1313, allocations: 182.6 kB / 485.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004583/0.1317, allocations: 442.1 kB / 486 MB, free: 15.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1318, allocations: 0 / 486 MB, free: 15.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1318, allocations: 0 / 486 MB, free: 15.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.523e-05/0.1318, allocations: 0 / 486 MB, free: 15.25 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001121/0.1329, allocations: 0.8167 MB / 486.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/0.133, allocations: 12.03 kB / 486.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.954e-05/0.133, allocations: 50.67 kB / 486.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.1332, allocations: 60.19 kB / 487 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005163/0.1337, allocations: 408.6 kB / 487.4 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.1337, allocations: 12.3 kB / 487.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.433e-05/0.1338, allocations: 31.83 kB / 487.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003952/0.1342, allocations: 189 kB / 487.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.1342, allocations: 0 / 487.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.1342, allocations: 8 kB / 487.6 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.1342, allocations: 4 kB / 487.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002394/0.1345, allocations: 87.88 kB / 487.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000932/0.1354, allocations: 0.8093 MB / 488.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006275/0.1361, allocations: 246.5 kB / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.1363, allocations: 91.52 kB / 488.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.1363, allocations: 8 kB / 488.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000441/0.1368, allocations: 208.3 kB / 489 MB, free: 11.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 2.004e-06/0.1368, allocations: 0 / 489 MB, free: 11.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002464/0.1392, allocations: 1.114 MB / 490.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.057e-05/0.1393, allocations: 140.5 kB / 490.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008304/0.1402, allocations: 0.793 MB / 491.1 MB, free: 9.887 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.1402, allocations: 41.7 kB / 491.1 MB, free: 9.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.1404, allocations: 244.9 kB / 491.4 MB, free: 9.594 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.1405, allocations: 142.1 kB / 491.5 MB, free: 9.453 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.729e-05/0.1406, allocations: 74.05 kB / 491.6 MB, free: 9.375 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.1408, allocations: 374.8 kB / 491.9 MB, free: 9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.1411, allocations: 116.8 kB / 492.1 MB, free: 8.887 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.1413, allocations: 191.1 kB / 492.2 MB, free: 8.672 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005201/0.1419, allocations: 318.7 kB / 492.6 MB, free: 8.336 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1419, allocations: 0 / 492.6 MB, free: 8.336 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007389/0.1426, allocations: 428.6 kB / 493 MB, free: 7.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1426, allocations: 4 kB / 493 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.1427, allocations: 4 kB / 493 MB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.1427, allocations: 7.938 kB / 493 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.143, allocations: 92.02 kB / 493.1 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.143, allocations: 7.938 kB / 493.1 MB, free: 7.797 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.1431, allocations: 15.98 kB / 493.1 MB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.1432, allocations: 16 kB / 493.1 MB, free: 7.766 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002403/0.1434, allocations: 231.9 kB / 493.3 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.677e-05/0.1435, allocations: 67.16 kB / 493.4 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.1437, allocations: 80.91 kB / 493.5 MB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.1437, allocations: 11.98 kB / 493.5 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.1437, allocations: 7.938 kB / 493.5 MB, free: 7.359 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.1437, allocations: 3.984 kB / 493.5 MB, free: 7.355 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.1453, allocations: 1.311 MB / 494.8 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1453, allocations: 0 / 494.8 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.1455, allocations: 59.91 kB / 494.9 MB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.1455, allocations: 4 kB / 494.9 MB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.1455, allocations: 24.23 kB / 494.9 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.056e-05/0.1456, allocations: 11.94 kB / 494.9 MB, free: 5.863 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.1456, allocations: 4.875 kB / 494.9 MB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.1467, allocations: 0.7784 MB / 495.7 MB, free: 5.039 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000184/0.1469, allocations: 164.3 kB / 495.9 MB, free: 4.859 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.437e-05/0.147, allocations: 19.98 kB / 495.9 MB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003946/0.1474, allocations: 16 kB / 495.9 MB, free: 4.824 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.1476, allocations: 47.83 kB / 495.9 MB, free: 4.777 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.416e-05/0.1476, allocations: 27.98 kB / 496 MB, free: 4.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007031/0.1484, allocations: 0.5732 MB / 496.5 MB, free: 4.172 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1484, allocations: 0 / 496.5 MB, free: 4.172 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005736/0.149, allocations: 95.89 kB / 496.6 MB, free: 4.078 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002172/0.1511, allocations: 1.75 MB / 498.4 MB, free: 2.465 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006331/0.1518, allocations: 339.7 kB / 498.7 MB, free: 2.133 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1518, allocations: 0 / 498.7 MB, free: 2.133 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003011/0.1521, allocations: 163.7 kB / 498.9 MB, free: 1.973 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009434/0.1531, allocations: 124.9 kB / 499 MB, free: 1.867 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006145/0.1592, allocations: 4.893 MB / 0.4921 GB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005246/0.1598, allocations: 0.8844 MB / 0.4929 GB, free: 11.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002485/0.16, allocations: 91.27 kB / 0.493 GB, free: 11.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/0.1603, allocations: 191.4 kB / 0.4932 GB, free: 11.59 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1603, allocations: 0 / 0.4932 GB, free: 11.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02845/0.1887, allocations: 10.67 MB / 0.5036 GB, free: 1.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.421/7.61, allocations: 3.938 kB / 0.5036 GB, free: 1.016 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.csv --start-time 0 --stop-time 9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0036 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches