Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001512/0.001512, 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.001432/0.001433, 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.42/1.42, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2321/0.2321, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002464/0.002464, allocations: 82.77 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1437, allocations: 62.44 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.004473/0.1482, allocations: 1.689 MB / 481.8 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.1503, allocations: 1.005 MB / 482.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.1505, allocations: 0 / 482.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003675/0.1508, allocations: 51.75 kB / 482.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004206/0.1513, allocations: 99.58 kB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.1516, allocations: 79.67 kB / 483.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.1518, allocations: 95.7 kB / 483.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.07e-05/0.1518, allocations: 8.219 kB / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.1519, allocations: 39.8 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.451e-05/0.152, allocations: 31.84 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.1521, allocations: 0 / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.1522, allocations: 35.98 kB / 483.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.002e-05/0.1522, allocations: 27.8 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.923e-05/0.1523, allocations: 47.66 kB / 483.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.1525, allocations: 123.8 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.85e-06/0.1525, allocations: 4 kB / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1525, allocations: 0 / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.1526, allocations: 4 kB / 483.5 MB, free: 1.832 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005901/0.1532, allocations: 430.7 kB / 483.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.1532, allocations: 12.03 kB / 483.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.694e-05/0.1533, allocations: 30.75 kB / 483.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.1533, allocations: 12.84 kB / 483.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.1536, allocations: 224.8 kB / 484.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.1536, allocations: 8.375 kB / 484.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.1536, allocations: 7.938 kB / 484.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.1538, allocations: 45.67 kB / 484.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1538, allocations: 0 / 484.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.1538, allocations: 0 / 484.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1538, allocations: 4 kB / 484.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.783e-05/0.1539, allocations: 15.98 kB / 484.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002115/0.1541, allocations: 189.7 kB / 484.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.1543, allocations: 62.44 kB / 484.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.361e-05/0.1543, allocations: 20.84 kB / 484.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.1544, allocations: 4 kB / 484.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002152/0.1546, allocations: 63.39 kB / 484.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.1546, allocations: 0 / 484.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002985/0.1549, allocations: 105.4 kB / 484.7 MB, free: 452 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.155, allocations: 51.41 kB / 484.7 MB, free: 388 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.1553, allocations: 267 kB / 485 MB, free: 108 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.1553, allocations: 25.7 kB / 485 MB, free: 76 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.996e-05/0.1554, allocations: 112.1 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.1554, allocations: 15.89 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/0.1555, allocations: 17.72 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.1556, allocations: 322.8 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.152e-05/0.1557, allocations: 19.98 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.663e-05/0.1557, allocations: 33.7 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.1559, allocations: 45.91 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.1559, allocations: 3.938 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001711/0.156, allocations: 85.48 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1561, allocations: 4 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.1561, allocations: 8.031 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1561, allocations: 0 / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.783e-05/0.1562, allocations: 11.94 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.1562, allocations: 0 / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.373e-05/0.1563, allocations: 11.84 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.1563, allocations: 0 / 485.7 MB, free: 15.36 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 (7): * Single equations (assignments): 7 * 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.0001273/0.1564, allocations: 141.8 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.1564, allocations: 11.91 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.152e-05/0.1565, allocations: 17 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1565, allocations: 4 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1565, allocations: 0 / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1565, allocations: 0 / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.1567, allocations: 205.5 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1567, allocations: 4 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.081e-05/0.1567, allocations: 7.922 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.1567, allocations: 4 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.1568, allocations: 0 / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1568, allocations: 3.938 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1568, allocations: 0 / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.157, allocations: 124.8 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.887e-05/0.157, allocations: 81.02 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.1571, allocations: 4 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.822e-05/0.1571, allocations: 4.109 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.1571, allocations: 8 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.1572, allocations: 0 / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001873/0.1574, allocations: 212.4 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1574, allocations: 4 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002158/0.1576, allocations: 16 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001342/0.1589, allocations: 0.9433 MB / 487.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001646/0.1591, allocations: 39.98 kB / 487.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1591, allocations: 4.062 kB / 487.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.089e-05/0.1592, allocations: 23.92 kB / 487.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.1595, allocations: 33.11 kB / 487.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.1614, allocations: 1.673 MB / 489.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.1617, allocations: 0.7166 MB / 490 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.769e-05/0.1618, allocations: 12.55 kB / 490 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.143e-05/0.1619, allocations: 35.42 kB / 490 MB, free: 10.95 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1619, allocations: 8 kB / 490 MB, free: 10.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/0.1844, allocations: 3.41 MB / 493.4 MB, free: 7.605 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.256/7.441, allocations: 8 kB / 493.4 MB, free: 7.598 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches