Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000678/0.000678, allocations: 96.33 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007879/0.000788, allocations: 207.1 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.8 MB / 246.8 MB, free: 9.699 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.233/0.233, allocations: 46.18 MB / 345.2 MB, free: 11.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002919/0.0002919, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1501, allocations: 63.56 MB / 483.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002225/0.1524, allocations: 1.454 MB / 484.6 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.1541, allocations: 0.9941 MB / 485.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.129e-05/0.1541, allocations: 0 / 485.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003127/0.1545, allocations: 31.86 kB / 485.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002698/0.1548, allocations: 75.73 kB / 485.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.155, allocations: 75.8 kB / 485.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.1551, allocations: 95.7 kB / 485.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.65e-05/0.1552, allocations: 4 kB / 485.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.51e-05/0.1553, allocations: 47.77 kB / 486 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.443e-05/0.1554, allocations: 27.8 kB / 486 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.1554, allocations: 0 / 486 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.1555, allocations: 47.92 kB / 486 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.344e-05/0.1556, allocations: 27.84 kB / 486.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.661e-05/0.1557, allocations: 65.44 kB / 486.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.1559, allocations: 107.9 kB / 486.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1559, allocations: 0 / 486.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.1559, allocations: 3.984 kB / 486.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1559, allocations: 0 / 486.2 MB, free: 0.9883 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.0005457/0.1564, allocations: 399.1 kB / 486.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.1565, allocations: 12.88 kB / 486.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.671e-05/0.1566, allocations: 34.69 kB / 486.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/0.1566, allocations: 8.844 kB / 486.7 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.1568, allocations: 218.7 kB / 486.9 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.1569, allocations: 4.312 kB / 486.9 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.1569, allocations: 7.938 kB / 486.9 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.1571, allocations: 53.67 kB / 486.9 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1571, allocations: 0 / 486.9 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1571, allocations: 3.984 kB / 487 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1571, allocations: 4 kB / 487 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.32e-05/0.1572, allocations: 23.92 kB / 487 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.1576, allocations: 296.8 kB / 487.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.1578, allocations: 50.69 kB / 487.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.25e-05/0.1578, allocations: 24.84 kB / 487.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.1578, allocations: 0 / 487.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/0.158, allocations: 71.33 kB / 487.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/0.158, allocations: 0 / 487.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000551/0.1586, allocations: 173.2 kB / 487.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.1586, allocations: 51.41 kB / 487.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.1588, allocations: 202.7 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.1589, allocations: 25.7 kB / 487.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.451e-05/0.1589, allocations: 100.1 kB / 488 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.159, allocations: 23.7 kB / 488 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.159, allocations: 25.7 kB / 488 MB, free: 15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1592, allocations: 322.8 kB / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.714e-05/0.1592, allocations: 16 kB / 488.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.761e-05/0.1593, allocations: 37.7 kB / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.1594, allocations: 57.64 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1594, allocations: 0 / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001864/0.1596, allocations: 105.7 kB / 488.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.1596, allocations: 7.984 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.1596, allocations: 4.312 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1597, allocations: 0 / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.26e-05/0.1598, allocations: 19.94 kB / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.1598, allocations: 0 / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.636e-05/0.1598, allocations: 11.94 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.1598, allocations: 7.984 kB / 488.6 MB, free: 14.39 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.0001111/0.16, allocations: 128.4 kB / 488.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.865e-05/0.16, allocations: 7.906 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.935e-05/0.16, allocations: 17.39 kB / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1601, allocations: 7.938 kB / 488.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1601, allocations: 0 / 488.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.1601, allocations: 3.938 kB / 488.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004236/0.1605, allocations: 399.4 kB / 489.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1605, allocations: 0 / 489.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.13e-05/0.1606, allocations: 16.02 kB / 489.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1606, allocations: 3.938 kB / 489.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.1606, allocations: 4 kB / 489.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1606, allocations: 7.938 kB / 489.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1606, allocations: 0 / 489.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.1608, allocations: 192.3 kB / 489.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.864e-05/0.1609, allocations: 96.91 kB / 489.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.1609, allocations: 7.938 kB / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.842e-05/0.161, allocations: 4 kB / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.161, allocations: 11.98 kB / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.161, allocations: 4 kB / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001323/0.1612, allocations: 152.7 kB / 489.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1612, allocations: 0 / 489.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.1614, allocations: 24 kB / 489.6 MB, free: 13.22 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.001532/0.163, allocations: 1.097 MB / 490.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001663/0.1632, allocations: 51.92 kB / 490.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1632, allocations: 0 / 490.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.038e-05/0.1632, allocations: 31.98 kB / 490.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.1636, allocations: 27.92 kB / 490.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.1653, allocations: 1.67 MB / 492.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.1656, allocations: 0.7082 MB / 493.2 MB, free: 9.652 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.807e-05/0.1657, allocations: 28.8 kB / 493.3 MB, free: 9.621 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.226e-05/0.1657, allocations: 35.42 kB / 493.3 MB, free: 9.586 MB / 366.1 MB Notification: Performance of SimCode: time 4.8e-07/0.1657, allocations: 0 / 493.3 MB, free: 9.586 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01366/0.1794, allocations: 3.008 MB / 496.3 MB, free: 6.707 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002978/0.1797, allocations: 236.5 kB / 496.5 MB, free: 6.453 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/1.902, allocations: 0 / 496.5 MB, free: 6.453 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches