Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001033/0.001033, allocations: 104.1 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.001145/0.001145, 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.384/1.384, 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.2476/0.2476, allocations: 46.09 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 80.64 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1491, allocations: 62.44 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.004167/0.1534, allocations: 1.742 MB / 481.9 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.1553, allocations: 1.013 MB / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1554, allocations: 3.938 kB / 482.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003371/0.1558, allocations: 43.81 kB / 482.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003627/0.1562, allocations: 103.5 kB / 483 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.1565, allocations: 79.66 kB / 483.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.1567, allocations: 103.7 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1568, allocations: 8 kB / 483.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.772e-05/0.1569, allocations: 47.77 kB / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.453e-05/0.157, allocations: 27.8 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.157, allocations: 4 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.1571, allocations: 47.98 kB / 483.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.21e-05/0.1572, allocations: 31.84 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.951e-05/0.1573, allocations: 31.75 kB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.1575, allocations: 115.9 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1575, allocations: 3.984 kB / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1575, allocations: 0 / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.1576, allocations: 0 / 483.5 MB, free: 1.781 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.0006208/0.1582, allocations: 422.9 kB / 483.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.1582, allocations: 8.031 kB / 483.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.474e-05/0.1583, allocations: 42.75 kB / 484 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/0.1583, allocations: 12.75 kB / 484 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.1586, allocations: 216 kB / 484.2 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.1586, allocations: 4.375 kB / 484.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.1587, allocations: 7.938 kB / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.1588, allocations: 53.67 kB / 484.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1589, allocations: 0 / 484.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.1589, allocations: 0 / 484.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1589, allocations: 0 / 484.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.39e-05/0.159, allocations: 19.98 kB / 484.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003801/0.1594, allocations: 292.8 kB / 484.6 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.1595, allocations: 62.66 kB / 484.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.348e-05/0.1596, allocations: 24.78 kB / 484.7 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.1596, allocations: 0 / 484.7 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/0.1599, allocations: 71.39 kB / 484.7 MB, free: 404 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1599, allocations: 3.938 kB / 484.7 MB, free: 400 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005648/0.1604, allocations: 173.1 kB / 484.9 MB, free: 220 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.1605, allocations: 55.41 kB / 485 MB, free: 152 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.1607, allocations: 210.2 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.1607, allocations: 25.7 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.136e-05/0.1608, allocations: 108.1 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.1609, allocations: 27.69 kB / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.851e-05/0.1609, allocations: 21.72 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.161, allocations: 326.8 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.853e-05/0.1611, allocations: 23.98 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.571e-05/0.1612, allocations: 33.7 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.1613, allocations: 61.72 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1613, allocations: 4.312 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001857/0.1615, allocations: 97.48 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1615, allocations: 4 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1615, allocations: 4 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1616, allocations: 0 / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.851e-05/0.1617, allocations: 23.92 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1617, allocations: 160 / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.199e-05/0.1617, allocations: 15.88 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.1618, allocations: 12.02 kB / 485.9 MB, free: 15.11 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.0001302/0.1619, allocations: 121.8 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.1619, allocations: 15.91 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.65e-05/0.162, allocations: 13.41 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.162, allocations: 0 / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.162, allocations: 4 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.162, allocations: 3.938 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004325/0.1624, allocations: 403.2 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1625, allocations: 0 / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.178e-05/0.1625, allocations: 8 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.1625, allocations: 3.938 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.1625, allocations: 3.984 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1625, allocations: 4 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1625, allocations: 192 / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.1628, allocations: 204.3 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.558e-05/0.1629, allocations: 92.86 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.1629, allocations: 3.938 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.372e-05/0.163, allocations: 8 kB / 486.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.163, allocations: 11.97 kB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.163, allocations: 0 / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001278/0.1632, allocations: 160.8 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1632, allocations: 0 / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.1635, allocations: 23.98 kB / 487 MB, free: 13.94 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.001522/0.165, allocations: 1.095 MB / 488.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001915/0.1652, allocations: 59.91 kB / 488.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1652, allocations: 0 / 488.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.622e-05/0.1653, allocations: 35.92 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.1656, allocations: 28.28 kB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.1674, allocations: 1.693 MB / 489.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.1678, allocations: 0.708 MB / 490.6 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.746e-05/0.1678, allocations: 12.55 kB / 490.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.676e-05/0.1679, allocations: 39.42 kB / 490.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1679, allocations: 4 kB / 490.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02063/0.1885, allocations: 3.419 MB / 494.1 MB, free: 6.945 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.361/7.549, allocations: 8 kB / 494.1 MB, free: 6.938 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches