Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00117/0.00117, allocations: 103.3 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001277/0.001277, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2332/0.2332, allocations: 46.11 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 76.62 kB / 416.9 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1414, allocations: 62.45 MB / 479.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003577/0.145, allocations: 1.993 MB / 481.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.1469, allocations: 1.052 MB / 482.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.147, allocations: 4 kB / 482.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003308/0.1474, allocations: 31.86 kB / 482.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.1476, allocations: 79.67 kB / 482.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.1479, allocations: 83.84 kB / 482.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.1481, allocations: 131.6 kB / 482.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.1482, allocations: 33.48 kB / 482.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.1484, allocations: 51.77 kB / 482.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.713e-05/0.1485, allocations: 51.66 kB / 482.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.1485, allocations: 7.938 kB / 482.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.1486, allocations: 47.97 kB / 483 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.922e-05/0.1487, allocations: 15.92 kB / 483 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.881e-05/0.1488, allocations: 51.67 kB / 483 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.149, allocations: 143.8 kB / 483.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.149, allocations: 3.984 kB / 483.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.149, allocations: 0 / 483.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.149, allocations: 4 kB / 483.2 MB, free: 1.844 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006775/0.1497, allocations: 488.4 kB / 483.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.1498, allocations: 12.88 kB / 483.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.982e-05/0.1498, allocations: 34.75 kB / 483.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.89e-05/0.1499, allocations: 20.73 kB / 483.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.1502, allocations: 220.8 kB / 483.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.1502, allocations: 4.375 kB / 483.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.1502, allocations: 11.94 kB / 483.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.1505, allocations: 119 kB / 484.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.1505, allocations: 0 / 484.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.1505, allocations: 4 kB / 484.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.1505, allocations: 4 kB / 484.1 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.1507, allocations: 47.89 kB / 484.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005834/0.1513, allocations: 0.5126 MB / 484.6 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003134/0.1516, allocations: 98.58 kB / 484.7 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.09e-05/0.1517, allocations: 36.84 kB / 484.8 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.1517, allocations: 4 kB / 484.8 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002512/0.152, allocations: 75.38 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.152, allocations: 0 / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003987/0.1524, allocations: 157.3 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.1524, allocations: 55.34 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.1526, allocations: 203 kB / 485.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.1527, allocations: 29.7 kB / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.736e-05/0.1527, allocations: 116 kB / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.1528, allocations: 27.61 kB / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/0.1528, allocations: 25.72 kB / 485.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1529, allocations: 330.8 kB / 485.8 MB, free: 15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.83e-05/0.1531, allocations: 31.98 kB / 485.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.1532, allocations: 60.27 kB / 485.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.1534, allocations: 104.2 kB / 486 MB, free: 14.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1534, allocations: 0 / 486 MB, free: 14.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002671/0.1536, allocations: 133.3 kB / 486.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1537, allocations: 4 kB / 486.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1537, allocations: 4 kB / 486.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1537, allocations: 3.938 kB / 486.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.949e-05/0.1538, allocations: 36.05 kB / 486.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1538, allocations: 480 / 486.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.812e-05/0.1539, allocations: 15.92 kB / 486.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.1539, allocations: 4 kB / 486.2 MB, free: 14.57 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001045/0.154, allocations: 125.8 kB / 486.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.154, allocations: 15.81 kB / 486.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.515e-05/0.1541, allocations: 25.33 kB / 486.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1541, allocations: 3.938 kB / 486.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.1541, allocations: 4 kB / 486.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1541, allocations: 3.938 kB / 486.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.1543, allocations: 209.5 kB / 486.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1543, allocations: 4 kB / 486.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.374e-05/0.1544, allocations: 11.98 kB / 486.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1544, allocations: 0 / 486.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.1544, allocations: 0 / 486.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.1544, allocations: 7.938 kB / 486.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1544, allocations: 0 / 486.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003602/0.1548, allocations: 184.8 kB / 486.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.352e-05/0.1549, allocations: 88.98 kB / 486.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.1549, allocations: 4 kB / 486.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.388e-05/0.155, allocations: 11.94 kB / 486.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.155, allocations: 7.984 kB / 486.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.155, allocations: 4 kB / 486.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000113/0.1551, allocations: 144.4 kB / 487 MB, free: 13.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1551, allocations: 4.062 kB / 487 MB, free: 13.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.1554, allocations: 32.11 kB / 487 MB, free: 13.6 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001432/0.1568, allocations: 1.017 MB / 488 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002327/0.1571, allocations: 83.83 kB / 488.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.1571, allocations: 4 kB / 488.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.485e-05/0.1572, allocations: 35.92 kB / 488.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.1575, allocations: 46.36 kB / 488.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.1594, allocations: 1.766 MB / 490 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.1597, allocations: 0.7165 MB / 490.7 MB, free: 9.926 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.204e-05/0.1598, allocations: 17.42 kB / 490.7 MB, free: 9.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.228e-05/0.1599, allocations: 51.34 kB / 490.8 MB, free: 9.859 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1599, allocations: 0 / 490.8 MB, free: 9.859 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01424/0.1741, allocations: 3.507 MB / 494.3 MB, free: 6.445 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/0.1744, allocations: 243.4 kB / 494.5 MB, free: 6.184 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.904/2.078, allocations: 0 / 494.5 MB, free: 6.184 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches