Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00106/0.00106, 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.001195/0.001195, 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.422/1.422, 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.248/0.248, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 81.23 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1339, allocations: 62.44 MB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.004952/0.1389, allocations: 1.728 MB / 481.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00349/0.1424, allocations: 1.017 MB / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002138/0.1427, allocations: 0 / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005516/0.1433, allocations: 55.75 kB / 482.9 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005523/0.1439, allocations: 95.55 kB / 483 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003646/0.1443, allocations: 71.67 kB / 483.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002885/0.1446, allocations: 107.7 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.1447, allocations: 11.98 kB / 483.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.1449, allocations: 39.8 kB / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.145, allocations: 35.78 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.626e-05/0.1451, allocations: 4 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.1453, allocations: 47.97 kB / 483.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.528e-05/0.1453, allocations: 19.92 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.1455, allocations: 35.75 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003939/0.1459, allocations: 119.8 kB / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1459, allocations: 0 / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1459, allocations: 0 / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.1459, allocations: 0 / 483.5 MB, free: 1.766 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001095/0.147, allocations: 426.8 kB / 483.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.029e-05/0.1471, allocations: 12.03 kB / 483.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.737e-05/0.1472, allocations: 42.73 kB / 484 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.865e-05/0.1473, allocations: 12.75 kB / 484 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005058/0.1478, allocations: 212.1 kB / 484.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.1479, allocations: 4.375 kB / 484.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.823e-05/0.1479, allocations: 7.938 kB / 484.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.1482, allocations: 53.61 kB / 484.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.1482, allocations: 0 / 484.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.1483, allocations: 7.984 kB / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1483, allocations: 8 kB / 484.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.1484, allocations: 15.98 kB / 484.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000573/0.149, allocations: 284.9 kB / 484.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.1493, allocations: 62.61 kB / 484.6 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.564e-05/0.1494, allocations: 16.86 kB / 484.7 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.1495, allocations: 4 kB / 484.7 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003381/0.1498, allocations: 71.38 kB / 484.7 MB, free: 384 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.675e-06/0.1498, allocations: 0 / 484.7 MB, free: 384 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008618/0.1507, allocations: 177 kB / 484.9 MB, free: 200 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.1508, allocations: 51.41 kB / 485 MB, free: 136 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003458/0.1511, allocations: 214.3 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.1512, allocations: 29.7 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.1513, allocations: 108.1 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.1514, allocations: 15.72 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-05/0.1514, allocations: 25.7 kB / 485.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.1516, allocations: 326.8 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.212e-05/0.1517, allocations: 20 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.1519, allocations: 38.02 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.1521, allocations: 61.7 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1521, allocations: 0 / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003197/0.1524, allocations: 113.4 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.1525, allocations: 8 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1525, allocations: 0 / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.1525, allocations: 0 / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.1527, allocations: 12 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.1527, allocations: 4 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.629e-05/0.1528, allocations: 16.08 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.1528, allocations: 8 kB / 485.9 MB, free: 15.1 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 (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 0.0001492/0.153, allocations: 125.7 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/0.153, allocations: 11.91 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.039e-05/0.1531, allocations: 17.39 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.1531, allocations: 4 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1532, allocations: 0 / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.1532, allocations: 3.938 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007121/0.1539, allocations: 403.2 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.1539, allocations: 0 / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.271e-05/0.154, allocations: 8 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.154, allocations: 3.938 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.154, allocations: 4 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.154, allocations: 0 / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.154, allocations: 240 / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003993/0.1545, allocations: 216.2 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.754e-05/0.1546, allocations: 88.92 kB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/0.1546, allocations: 3.938 kB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.1548, allocations: 4 kB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.703e-05/0.1548, allocations: 11.98 kB / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.1549, allocations: 4 kB / 486.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002119/0.1551, allocations: 156.8 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.81e-07/0.1551, allocations: 4 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000438/0.1556, allocations: 20 kB / 487 MB, free: 13.93 MB / 366.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.001713/0.1573, allocations: 1.097 MB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002155/0.1575, allocations: 63.89 kB / 488.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1575, allocations: 0 / 488.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.694e-05/0.1576, allocations: 28 kB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.158, allocations: 35.53 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.1602, allocations: 1.687 MB / 489.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.1606, allocations: 0.708 MB / 490.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.359e-05/0.1607, allocations: 20.53 kB / 490.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.289e-05/0.1608, allocations: 35.42 kB / 490.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of SimCode: time 3.116e-06/0.1608, allocations: 0 / 490.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0254/0.1862, allocations: 3.424 MB / 494.1 MB, free: 6.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.299/7.485, allocations: 7.922 kB / 494.1 MB, free: 6.922 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches