Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00082/0.00082, allocations: 95.27 kB / 17.35 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001026/0.001027, allocations: 200.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.7 MB / 246.8 MB, free: 9.688 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2035/0.2035, allocations: 46.19 MB / 345.2 MB, free: 11.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002504/0.0002504, allocations: 12 kB / 419.6 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1229, allocations: 63.55 MB / 483.2 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002065/0.125, allocations: 1.637 MB / 484.8 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.1267, allocations: 1.094 MB / 485.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.176e-05/0.1268, allocations: 3.938 kB / 485.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00032/0.1271, allocations: 147.7 kB / 486.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003394/0.1275, allocations: 171.4 kB / 486.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.1277, allocations: 91.84 kB / 486.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.128, allocations: 235.3 kB / 486.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.623e-05/0.1281, allocations: 29.66 kB / 486.6 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.1282, allocations: 99.55 kB / 486.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.1284, allocations: 127.5 kB / 486.8 MB, free: 416 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.1284, allocations: 4 kB / 486.8 MB, free: 412 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.1285, allocations: 67.95 kB / 486.9 MB, free: 344 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.573e-05/0.1286, allocations: 35.84 kB / 486.9 MB, free: 308 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.608e-05/0.1287, allocations: 109 kB / 487 MB, free: 192 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.1289, allocations: 219.4 kB / 487.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.129, allocations: 0 / 487.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.129, allocations: 0 / 487.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.129, allocations: 0 / 487.2 MB, free: 15.97 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005722/0.1295, allocations: 0.5061 MB / 487.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.1296, allocations: 8.875 kB / 487.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.779e-05/0.1296, allocations: 38.75 kB / 487.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.1297, allocations: 28.64 kB / 487.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.13, allocations: 275.4 kB / 488.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.13, allocations: 384 / 488.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.13, allocations: 19.92 kB / 488.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.1302, allocations: 107.4 kB / 488.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1303, allocations: 3.984 kB / 488.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.1303, allocations: 0 / 488.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.1303, allocations: 4 kB / 488.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.1304, allocations: 47.91 kB / 488.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005049/0.1309, allocations: 468.7 kB / 488.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003144/0.1312, allocations: 125.2 kB / 488.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.004e-05/0.1313, allocations: 45.77 kB / 488.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.1314, allocations: 8 kB / 488.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002322/0.1316, allocations: 120.1 kB / 489 MB, free: 14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.1316, allocations: 0 / 489 MB, free: 14 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001142/0.1328, allocations: 0.4892 MB / 489.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.1328, allocations: 81.11 kB / 489.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003429/0.1332, allocations: 375.2 kB / 489.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.1332, allocations: 29.7 kB / 490 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.996e-05/0.1333, allocations: 152.5 kB / 490.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.607e-05/0.1334, allocations: 67 kB / 490.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.1334, allocations: 29.66 kB / 490.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1335, allocations: 342.8 kB / 490.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.1337, allocations: 63.91 kB / 490.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.1338, allocations: 87.41 kB / 490.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.1341, allocations: 155.6 kB / 490.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1341, allocations: 4 kB / 490.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003688/0.1345, allocations: 233.1 kB / 491.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.1345, allocations: 4 kB / 491.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.1345, allocations: 0 / 491.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.1345, allocations: 4 kB / 491.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.1346, allocations: 39.92 kB / 491.1 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.1346, allocations: 7.984 kB / 491.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.758e-05/0.1347, allocations: 8 kB / 491.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.1348, allocations: 12.06 kB / 491.2 MB, free: 11.75 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001429/0.1349, allocations: 166.2 kB / 491.3 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.01e-05/0.1349, allocations: 35.56 kB / 491.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.274e-05/0.135, allocations: 33.83 kB / 491.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.135, allocations: 7.984 kB / 491.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.135, allocations: 0 / 491.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.135, allocations: 0 / 491.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008582/0.1359, allocations: 0.7349 MB / 492.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1359, allocations: 0 / 492.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.601e-05/0.136, allocations: 24 kB / 492.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.136, allocations: 4 kB / 492.2 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.136, allocations: 11.98 kB / 492.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.136, allocations: 12.06 kB / 492.2 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1361, allocations: 3.938 kB / 492.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004246/0.1365, allocations: 421.7 kB / 492.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.808e-05/0.1366, allocations: 108.7 kB / 492.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.1366, allocations: 12 kB / 492.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.1368, allocations: 8 kB / 492.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.1368, allocations: 23.91 kB / 492.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.1368, allocations: 8 kB / 492.7 MB, free: 10.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002418/0.1371, allocations: 277.9 kB / 493 MB, free: 9.758 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1371, allocations: 0 / 493 MB, free: 9.758 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003271/0.1374, allocations: 55.98 kB / 493.1 MB, free: 9.703 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001663/0.1391, allocations: 1.347 MB / 494.4 MB, free: 8.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002985/0.1394, allocations: 155.8 kB / 494.6 MB, free: 8.348 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.1394, allocations: 0 / 494.6 MB, free: 8.348 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.1396, allocations: 79.84 kB / 494.7 MB, free: 8.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005335/0.1401, allocations: 63.98 kB / 494.7 MB, free: 8.211 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002884/0.143, allocations: 2.772 MB / 497.5 MB, free: 5.312 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.1433, allocations: 0.7638 MB / 498.2 MB, free: 4.523 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.1435, allocations: 41.91 kB / 498.3 MB, free: 4.477 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.1436, allocations: 91.39 kB / 498.4 MB, free: 4.387 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1436, allocations: 0 / 498.4 MB, free: 4.387 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/0.1585, allocations: 5.508 MB / 0.4921 GB, free: 15.01 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/0.1587, allocations: 251.2 kB / 0.4923 GB, free: 14.74 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/1.9, allocations: 0 / 0.4923 GB, free: 14.74 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches