Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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.Test87,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001153/0.001153, allocations: 104.4 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.001243/0.001244, 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.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2099/0.2099, allocations: 46.09 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 76.88 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1215, allocations: 62.45 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003714/0.1252, allocations: 2.277 MB / 482.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002282/0.1275, allocations: 1.314 MB / 483.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002077/0.1278, allocations: 7.938 kB / 483.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004089/0.1282, allocations: 139.3 kB / 483.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005982/0.1288, allocations: 254.9 kB / 484.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004651/0.1293, allocations: 187.5 kB / 484.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005547/0.1299, allocations: 462.7 kB / 484.8 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.13, allocations: 65.33 kB / 484.8 MB, free: 488 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003826/0.1304, allocations: 291.1 kB / 485.1 MB, free: 196 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.1307, allocations: 163.1 kB / 485.3 MB, free: 32 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.478e-05/0.1307, allocations: 16 kB / 485.3 MB, free: 16 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.1309, allocations: 80.02 kB / 485.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001616/0.1311, allocations: 147.4 kB / 485.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001933/0.1313, allocations: 210.3 kB / 485.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005114/0.1318, allocations: 470.1 kB / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1318, allocations: 4 kB / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1318, allocations: 0 / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.953e-05/0.1319, allocations: 0 / 486.2 MB, free: 15.12 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.001248/0.1331, allocations: 0.8864 MB / 487.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/0.1332, allocations: 12.03 kB / 487.1 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.063e-05/0.1333, allocations: 46.73 kB / 487.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.1334, allocations: 72 kB / 487.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005192/0.1339, allocations: 444.1 kB / 487.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.1339, allocations: 12.38 kB / 487.6 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.903e-05/0.134, allocations: 23.94 kB / 487.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003839/0.1344, allocations: 196.9 kB / 487.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.1344, allocations: 3.906 kB / 487.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.1344, allocations: 8 kB / 487.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1345, allocations: 4 kB / 487.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002455/0.1347, allocations: 95.86 kB / 488 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009208/0.1356, allocations: 0.8211 MB / 488.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006307/0.1363, allocations: 246.5 kB / 489 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.1365, allocations: 95.45 kB / 489.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.1365, allocations: 4 kB / 489.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003847/0.1369, allocations: 200.3 kB / 489.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.603e-06/0.1369, allocations: 0 / 489.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002501/0.1394, allocations: 1.175 MB / 490.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.207e-05/0.1395, allocations: 140.5 kB / 490.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.1406, allocations: 0.9613 MB / 491.6 MB, free: 9.402 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.1407, allocations: 37.7 kB / 491.6 MB, free: 9.359 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.1409, allocations: 265.1 kB / 491.9 MB, free: 9.094 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.141, allocations: 138.1 kB / 492 MB, free: 8.957 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.1412, allocations: 82.03 kB / 492.1 MB, free: 8.871 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1413, allocations: 326 kB / 492.4 MB, free: 8.547 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.1415, allocations: 112.8 kB / 492.5 MB, free: 8.438 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002859/0.1418, allocations: 187.2 kB / 492.7 MB, free: 8.227 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005242/0.1424, allocations: 314.9 kB / 493 MB, free: 7.895 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1424, allocations: 4 kB / 493 MB, free: 7.891 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000737/0.1431, allocations: 448.4 kB / 493.5 MB, free: 7.445 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.1432, allocations: 6.5 kB / 493.5 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.1432, allocations: 0 / 493.5 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1432, allocations: 4 kB / 493.5 MB, free: 7.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.1435, allocations: 91.89 kB / 493.6 MB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.1435, allocations: 11.88 kB / 493.6 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.1436, allocations: 23.92 kB / 493.6 MB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.1437, allocations: 12 kB / 493.6 MB, free: 7.301 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.0002552/0.1439, allocations: 256 kB / 493.9 MB, free: 7.043 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.035e-05/0.144, allocations: 75.06 kB / 493.9 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.1442, allocations: 85.73 kB / 494 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.1442, allocations: 8 kB / 494 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.1442, allocations: 7.922 kB / 494 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.1442, allocations: 3.984 kB / 494 MB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.1458, allocations: 1.338 MB / 495.4 MB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.1458, allocations: 4 kB / 495.4 MB, free: 5.434 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.146, allocations: 63.91 kB / 495.4 MB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.146, allocations: 4 kB / 495.4 MB, free: 5.367 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.146, allocations: 12 kB / 495.4 MB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/0.1461, allocations: 8.922 kB / 495.5 MB, free: 5.348 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.1461, allocations: 7.938 kB / 495.5 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008277/0.1469, allocations: 0.7941 MB / 496.3 MB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.1471, allocations: 180.2 kB / 496.4 MB, free: 4.309 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.46e-05/0.1472, allocations: 19.98 kB / 496.5 MB, free: 4.289 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/0.1474, allocations: 12 kB / 496.5 MB, free: 4.277 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-05/0.1475, allocations: 43.83 kB / 496.5 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.705e-05/0.1476, allocations: 23.98 kB / 496.5 MB, free: 4.211 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006954/0.1483, allocations: 0.7021 MB / 497.2 MB, free: 3.512 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1483, allocations: 0 / 497.2 MB, free: 3.512 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005318/0.1488, allocations: 91.89 kB / 497.3 MB, free: 3.422 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.002179/0.151, allocations: 1.768 MB / 499.1 MB, free: 1.789 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006185/0.1516, allocations: 335.5 kB / 499.4 MB, free: 1.461 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1517, allocations: 256 / 499.4 MB, free: 1.461 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000286/0.152, allocations: 167.7 kB / 499.6 MB, free: 1.297 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009508/0.1529, allocations: 133.2 kB / 499.7 MB, free: 1.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005963/0.1589, allocations: 5.285 MB / 0.4932 GB, free: 11.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.1593, allocations: 0.9242 MB / 0.4941 GB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000223/0.1596, allocations: 83.28 kB / 0.4941 GB, free: 10.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002428/0.1598, allocations: 215.3 kB / 0.4944 GB, free: 10.46 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1598, allocations: 0 / 0.4944 GB, free: 10.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2/0.3599, allocations: 11.31 MB / 0.5054 GB, free: 40.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.502/7.862, allocations: 6.344 kB / 0.5054 GB, free: 40.65 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches