Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001515/0.001515, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001762/0.001762, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2186/0.2186, allocations: 46.1 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 73.28 kB / 417 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1446, allocations: 62.44 MB / 479.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.004206/0.1489, allocations: 1.789 MB / 481.2 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.1509, allocations: 1.014 MB / 482.2 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.1511, allocations: 0 / 482.2 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003647/0.1514, allocations: 39.77 kB / 482.2 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003016/0.1518, allocations: 79.73 kB / 482.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.1521, allocations: 63.77 kB / 482.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.1522, allocations: 103.7 kB / 482.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1524, allocations: 12 kB / 482.5 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.902e-05/0.1524, allocations: 39.78 kB / 482.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.204e-05/0.1525, allocations: 31.78 kB / 482.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.1526, allocations: 7.938 kB / 482.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.1527, allocations: 39.98 kB / 482.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.836e-05/0.1527, allocations: 19.92 kB / 482.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.506e-05/0.1528, allocations: 31.75 kB / 482.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.153, allocations: 115.9 kB / 482.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.153, allocations: 0 / 482.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.153, allocations: 8 kB / 482.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.153, allocations: 0 / 482.8 MB, free: 2.234 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.0005471/0.1536, allocations: 422.9 kB / 483.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.1537, allocations: 12.88 kB / 483.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.691e-05/0.1537, allocations: 34.69 kB / 483.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.1538, allocations: 8.844 kB / 483.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.154, allocations: 210.7 kB / 483.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.154, allocations: 384 / 483.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.154, allocations: 15.92 kB / 483.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.1542, allocations: 53.67 kB / 483.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.1542, allocations: 3.906 kB / 483.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1542, allocations: 0 / 483.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1542, allocations: 4 kB / 483.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.787e-05/0.1543, allocations: 23.92 kB / 483.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.1547, allocations: 284.9 kB / 483.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.1549, allocations: 58.67 kB / 483.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.441e-05/0.1549, allocations: 24.84 kB / 483.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.155, allocations: 0 / 483.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002002/0.1552, allocations: 67.33 kB / 484 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1552, allocations: 0 / 484 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005785/0.1558, allocations: 177.2 kB / 484.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.1558, allocations: 55.39 kB / 484.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.156, allocations: 202.7 kB / 484.4 MB, free: 420 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.1561, allocations: 25.7 kB / 484.4 MB, free: 388 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.883e-05/0.1561, allocations: 96.14 kB / 484.5 MB, free: 288 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.1562, allocations: 23.7 kB / 484.5 MB, free: 264 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.1562, allocations: 21.72 kB / 484.6 MB, free: 236 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1564, allocations: 326.8 kB / 484.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.383e-05/0.1564, allocations: 19.98 kB / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.553e-05/0.1565, allocations: 41.64 kB / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.1566, allocations: 62.02 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1567, allocations: 0 / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001855/0.1568, allocations: 105.5 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1569, allocations: 7.938 kB / 485.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1569, allocations: 8.031 kB / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.102e-05/0.1569, allocations: 0 / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.152e-05/0.157, allocations: 23.92 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.157, allocations: 0 / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.346e-05/0.1571, allocations: 7.938 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.1571, allocations: 0 / 485.2 MB, free: 15.61 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.0001067/0.1572, allocations: 129.8 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.1572, allocations: 7.906 kB / 485.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.998e-05/0.1573, allocations: 21.55 kB / 485.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1573, allocations: 4 kB / 485.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1573, allocations: 0 / 485.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.1573, allocations: 3.938 kB / 485.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000451/0.1578, allocations: 399.2 kB / 485.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1578, allocations: 0 / 485.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.455e-05/0.1578, allocations: 11.98 kB / 485.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.1579, allocations: 7.875 kB / 485.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.1579, allocations: 32 / 485.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.1579, allocations: 8 kB / 485.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1579, allocations: 0 / 485.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.1581, allocations: 196.3 kB / 485.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-05/0.1582, allocations: 88.92 kB / 486 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.1582, allocations: 3.938 kB / 486 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.298e-05/0.1583, allocations: 11.98 kB / 486 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.1583, allocations: 4 kB / 486 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.1584, allocations: 4 kB / 486 MB, free: 14.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001269/0.1585, allocations: 152.7 kB / 486.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1585, allocations: 0 / 486.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.1588, allocations: 31.98 kB / 486.2 MB, free: 14.44 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.001514/0.1603, allocations: 1.089 MB / 487.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.1605, allocations: 63.89 kB / 487.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1605, allocations: 4.062 kB / 487.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.277e-05/0.1606, allocations: 27.94 kB / 487.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.1609, allocations: 31.97 kB / 487.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.1628, allocations: 1.671 MB / 489.1 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004104/0.1633, allocations: 0.7043 MB / 489.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.089e-05/0.1633, allocations: 20.88 kB / 489.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.573e-05/0.1634, allocations: 35.42 kB / 489.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1634, allocations: 0 / 489.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01476/0.1782, allocations: 3.178 MB / 493 MB, free: 7.738 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/0.1784, allocations: 245.2 kB / 493.3 MB, free: 7.477 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.892/2.07, allocations: 0 / 493.3 MB, free: 7.477 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches