Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009887/0.0009887, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001112/0.001112, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2358/0.2358, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 82 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1417, allocations: 62.44 MB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.00422/0.1459, allocations: 1.732 MB / 481.9 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.1479, allocations: 1.021 MB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.1481, allocations: 4 kB / 482.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004126/0.1485, allocations: 51.7 kB / 482.9 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000477/0.149, allocations: 99.53 kB / 483 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003133/0.1494, allocations: 79.66 kB / 483.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.1496, allocations: 99.77 kB / 483.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.1498, allocations: 8 kB / 483.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.1499, allocations: 51.77 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.15, allocations: 27.8 kB / 483.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.1501, allocations: 4 kB / 483.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.1503, allocations: 43.98 kB / 483.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.66e-05/0.1504, allocations: 27.91 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.236e-05/0.1504, allocations: 39.62 kB / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.1507, allocations: 127.9 kB / 483.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.1508, allocations: 4 kB / 483.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1508, allocations: 3.938 kB / 483.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1508, allocations: 0 / 483.5 MB, free: 1.73 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.0006424/0.1514, allocations: 422.8 kB / 484 MB, free: 1.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.1515, allocations: 12.03 kB / 484 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.536e-05/0.1515, allocations: 30.75 kB / 484 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.1516, allocations: 8.844 kB / 484 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.1519, allocations: 225.6 kB / 484.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.1519, allocations: 384 / 484.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.1519, allocations: 15.88 kB / 484.2 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.1521, allocations: 53.67 kB / 484.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.1521, allocations: 3.984 kB / 484.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1522, allocations: 0 / 484.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1522, allocations: 3.938 kB / 484.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.16e-05/0.1523, allocations: 23.98 kB / 484.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004262/0.1527, allocations: 292.7 kB / 484.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.1529, allocations: 70.59 kB / 484.7 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.55e-05/0.1529, allocations: 16.86 kB / 484.7 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.153, allocations: 0 / 484.7 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002514/0.1532, allocations: 71.38 kB / 484.8 MB, free: 336 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.1532, allocations: 0 / 484.8 MB, free: 336 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006214/0.1539, allocations: 181.1 kB / 484.9 MB, free: 148 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.1539, allocations: 59.34 kB / 485 MB, free: 76 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.1542, allocations: 238.1 kB / 485.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.1542, allocations: 29.69 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.144e-05/0.1543, allocations: 108.1 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.1544, allocations: 27.64 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.874e-05/0.1544, allocations: 17.72 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1546, allocations: 338.8 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.135e-05/0.1546, allocations: 15.94 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.2e-05/0.1547, allocations: 37.7 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.1548, allocations: 57.7 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1549, allocations: 0 / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002079/0.1551, allocations: 105.4 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.1551, allocations: 8.031 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1551, allocations: 3.984 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.1551, allocations: 4 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.1552, allocations: 16 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1553, allocations: 0 / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.413e-05/0.1553, allocations: 7.938 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.1553, allocations: 3.984 kB / 486 MB, free: 15.02 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.0002119/0.1556, allocations: 132.3 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.1556, allocations: 11.91 kB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.357e-05/0.1557, allocations: 25.39 kB / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1557, allocations: 0 / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1557, allocations: 0 / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.1557, allocations: 3.938 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005673/0.1563, allocations: 403.2 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.1563, allocations: 0 / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.716e-05/0.1563, allocations: 8.188 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.1563, allocations: 3.938 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.1563, allocations: 15.95 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1563, allocations: 0 / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1564, allocations: 0 / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.1566, allocations: 204.5 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/0.1567, allocations: 88.92 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.1567, allocations: 7.938 kB / 486.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.673e-05/0.1568, allocations: 4.375 kB / 486.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.1568, allocations: 15.92 kB / 486.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.1569, allocations: 4 kB / 486.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001579/0.157, allocations: 172.4 kB / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.157, allocations: 0 / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002763/0.1573, allocations: 24 kB / 487.1 MB, free: 13.82 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.001608/0.1589, allocations: 1.103 MB / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.1591, allocations: 59.91 kB / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1592, allocations: 0 / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.692e-05/0.1592, allocations: 31.98 kB / 488.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.1596, allocations: 35.16 kB / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/0.1618, allocations: 1.727 MB / 490.1 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.1622, allocations: 0.7195 MB / 490.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.052e-05/0.1622, allocations: 21.17 kB / 490.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.542e-05/0.1623, allocations: 39.42 kB / 490.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1623, allocations: 0 / 490.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02327/0.1856, allocations: 3.53 MB / 494.4 MB, free: 6.656 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.275/7.461, allocations: 19.78 kB / 494.4 MB, free: 6.637 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches