Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001504/0.001504, 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.001992/0.001992, 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.474/1.474, 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.2414/0.2414, allocations: 46.1 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 88.25 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1414, allocations: 62.43 MB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.004103/0.1455, allocations: 1.732 MB / 481.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002734/0.1483, allocations: 1.623 MB / 483.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.1484, allocations: 0 / 483.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003317/0.1488, allocations: 35.77 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004371/0.1492, allocations: 107.5 kB / 483.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.1495, allocations: 83.66 kB / 483.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.1497, allocations: 99.69 kB / 483.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.1498, allocations: 12 kB / 483.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.957e-05/0.15, allocations: 47.78 kB / 483.9 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.1501, allocations: 47.7 kB / 483.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.1502, allocations: 8 kB / 483.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002803/0.1505, allocations: 103.9 kB / 484 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.966e-05/0.1505, allocations: 19.92 kB / 484 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.117e-05/0.1506, allocations: 35.75 kB / 484.1 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003974/0.151, allocations: 167.8 kB / 484.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.151, allocations: 0 / 484.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.151, allocations: 0 / 484.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.1511, allocations: 0 / 484.2 MB, free: 1.078 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.0007468/0.1518, allocations: 431 kB / 484.7 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.1519, allocations: 12.03 kB / 484.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.834e-05/0.1519, allocations: 30.75 kB / 484.7 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.198e-05/0.152, allocations: 12.84 kB / 484.7 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.1523, allocations: 216.3 kB / 484.9 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.1523, allocations: 0 / 484.9 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.1524, allocations: 8 kB / 484.9 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.1526, allocations: 67.38 kB / 485 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.1526, allocations: 7.938 kB / 485 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.1526, allocations: 0 / 485 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1526, allocations: 0 / 485 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.11e-05/0.1527, allocations: 23.98 kB / 485 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004389/0.1532, allocations: 284.8 kB / 485.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.1534, allocations: 58.67 kB / 485.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.57e-05/0.1534, allocations: 16.86 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.1535, allocations: 0 / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002219/0.1537, allocations: 75.31 kB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1537, allocations: 4 kB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005928/0.1543, allocations: 165.2 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/0.1544, allocations: 92.98 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.1545, allocations: 161.5 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1546, allocations: 29.69 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.765e-05/0.1546, allocations: 100.1 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.1547, allocations: 27.64 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.1547, allocations: 21.72 kB / 486.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1548, allocations: 326.8 kB / 486.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.649e-05/0.1549, allocations: 23.98 kB / 486.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.336e-05/0.155, allocations: 38.56 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.1551, allocations: 66.06 kB / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1551, allocations: 0 / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001878/0.1553, allocations: 97.56 kB / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1553, allocations: 4 kB / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1554, allocations: 8 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1554, allocations: 0 / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.883e-05/0.1555, allocations: 23.86 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.1555, allocations: 0 / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.202e-05/0.1555, allocations: 8 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.1556, allocations: 8.031 kB / 486.6 MB, free: 14.42 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 9.782e-05/0.1557, allocations: 116.2 kB / 486.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.1557, allocations: 19.8 kB / 486.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.199e-05/0.1557, allocations: 16.7 kB / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.1558, allocations: 3.938 kB / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1558, allocations: 0 / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1558, allocations: 0 / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005526/0.1563, allocations: 395.5 kB / 487.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.1563, allocations: 7.938 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.213e-05/0.1564, allocations: 11.92 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1564, allocations: 4 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.1564, allocations: 0 / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1564, allocations: 0 / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/0.1564, allocations: 7.938 kB / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.1567, allocations: 208.5 kB / 487.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.1567, allocations: 84.95 kB / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.1568, allocations: 7.984 kB / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.578e-05/0.1568, allocations: 4 kB / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.1569, allocations: 4 kB / 487.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.1569, allocations: 7.984 kB / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.157, allocations: 123.2 kB / 487.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.157, allocations: 0 / 487.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003071/0.1574, allocations: 55.92 kB / 487.7 MB, free: 13.26 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.001832/0.1592, allocations: 1.182 MB / 488.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002137/0.1594, allocations: 59.92 kB / 488.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.1594, allocations: 0 / 488.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.316e-05/0.1595, allocations: 31.86 kB / 489 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.1599, allocations: 33.39 kB / 489 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.1616, allocations: 1.572 MB / 490.6 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.1619, allocations: 0.7051 MB / 491.3 MB, free: 9.727 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.457e-05/0.162, allocations: 17.12 kB / 491.3 MB, free: 9.711 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.619e-05/0.1621, allocations: 35.42 kB / 491.3 MB, free: 9.676 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1621, allocations: 0 / 491.3 MB, free: 9.676 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02488/0.1869, allocations: 3.929 MB / 495.3 MB, free: 5.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.321/7.508, allocations: 11.94 kB / 495.3 MB, free: 5.809 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches