Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001981/0.001981, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001993/0.001993, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1931/0.1931, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 79.03 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1473, allocations: 62.44 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003946/0.1513, allocations: 1.734 MB / 481.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.1533, allocations: 1.017 MB / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.1535, allocations: 0 / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003332/0.1539, allocations: 55.75 kB / 482.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003842/0.1543, allocations: 103.5 kB / 483 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.1546, allocations: 71.73 kB / 483.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.1549, allocations: 107.6 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.155, allocations: 12 kB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.1552, allocations: 39.8 kB / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.654e-05/0.1553, allocations: 39.77 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.613e-05/0.1553, allocations: 4 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.1555, allocations: 43.98 kB / 483.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.682e-05/0.1556, allocations: 27.91 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.741e-05/0.1557, allocations: 35.69 kB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.156, allocations: 127.8 kB / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.156, allocations: 0 / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.156, allocations: 0 / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.156, 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.000825/0.1569, allocations: 434.8 kB / 484 MB, free: 1.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.1569, allocations: 8.031 kB / 484 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.769e-05/0.157, allocations: 34.75 kB / 484 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.125e-05/0.157, allocations: 8.844 kB / 484 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.1574, allocations: 221.6 kB / 484.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.1575, allocations: 4.375 kB / 484.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.615e-05/0.1575, allocations: 3.938 kB / 484.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.1578, allocations: 57.61 kB / 484.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.1578, allocations: 4 kB / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1578, allocations: 4 kB / 484.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.1578, allocations: 3.984 kB / 484.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.158, allocations: 16 kB / 484.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005244/0.1585, allocations: 300.7 kB / 484.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.1587, allocations: 62.61 kB / 484.7 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.417e-05/0.1588, allocations: 24.8 kB / 484.7 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/0.1588, allocations: 0 / 484.7 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004068/0.1593, allocations: 63.39 kB / 484.8 MB, free: 372 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.1593, allocations: 0 / 484.8 MB, free: 372 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006658/0.1599, allocations: 177.1 kB / 484.9 MB, free: 188 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.687e-05/0.16, allocations: 55.41 kB / 485 MB, free: 120 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003268/0.1604, allocations: 242.1 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.1604, allocations: 29.7 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.572e-05/0.1605, allocations: 104.1 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.1606, allocations: 31.62 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-05/0.1607, allocations: 21.72 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.1609, allocations: 330.8 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.998e-05/0.161, allocations: 19.94 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.309e-05/0.1611, allocations: 42.02 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.1612, allocations: 65.77 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1612, allocations: 0 / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002437/0.1615, allocations: 101.4 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.1615, allocations: 8 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1615, allocations: 0 / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.1615, allocations: 32 / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.1617, allocations: 23.98 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1617, allocations: 4 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.342e-05/0.1617, allocations: 3.938 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.1617, allocations: 7.984 kB / 486 MB, free: 15.05 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.000132/0.1619, allocations: 133.8 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.1619, allocations: 11.91 kB / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.28e-05/0.162, allocations: 17.39 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.162, allocations: 4 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.162, allocations: 4 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.162, allocations: 3.938 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005417/0.1626, allocations: 403.2 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1626, allocations: 0 / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.38e-05/0.1626, allocations: 8 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.595e-06/0.1626, allocations: 7.938 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.1626, allocations: 0 / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1627, allocations: 0 / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/0.1627, allocations: 12.2 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003849/0.1631, allocations: 204.2 kB / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.1632, allocations: 92.86 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.1633, allocations: 3.938 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.525e-05/0.1633, allocations: 4 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.65e-05/0.1634, allocations: 7.984 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.1634, allocations: 8 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000176/0.1636, allocations: 176.4 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.4e-07/0.1636, allocations: 0 / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.1639, allocations: 24 kB / 487.1 MB, free: 13.84 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.001718/0.1656, allocations: 1.101 MB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001993/0.1658, allocations: 59.91 kB / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1659, allocations: 0 / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.613e-05/0.1659, allocations: 32.05 kB / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.1663, allocations: 31.98 kB / 488.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/0.1686, allocations: 1.731 MB / 490.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.169, allocations: 0.7156 MB / 490.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.406e-05/0.1691, allocations: 20.88 kB / 490.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.6e-05/0.1692, allocations: 43.36 kB / 490.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1692, allocations: 0 / 490.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02473/0.1939, allocations: 3.529 MB / 494.4 MB, free: 6.684 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.456/7.65, allocations: 15.72 kB / 494.4 MB, free: 6.668 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches