Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001214/0.001214, allocations: 104.8 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001295/0.001295, 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.454/1.454, allocations: 227.4 MB / 246.3 MB, free: 9.055 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.233/0.233, allocations: 46.11 MB / 343.6 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 76.75 kB / 417 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1367, allocations: 62.44 MB / 479.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003822/0.1405, allocations: 1.789 MB / 481.2 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.1425, allocations: 1.017 MB / 482.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.1426, allocations: 0 / 482.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003163/0.143, allocations: 35.89 kB / 482.2 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003024/0.1433, allocations: 83.67 kB / 482.3 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.1436, allocations: 55.89 kB / 482.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000195/0.1438, allocations: 107.7 kB / 482.5 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1439, allocations: 4 kB / 482.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.144, allocations: 43.73 kB / 482.5 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.834e-05/0.1441, allocations: 39.77 kB / 482.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.1441, allocations: 4 kB / 482.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.1442, allocations: 39.98 kB / 482.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.043e-05/0.1443, allocations: 19.92 kB / 482.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.402e-05/0.1444, allocations: 35.73 kB / 482.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.1446, allocations: 115.8 kB / 482.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1446, allocations: 0 / 482.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1446, allocations: 0 / 482.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1446, allocations: 0 / 482.8 MB, free: 2.211 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.0005841/0.1452, allocations: 423 kB / 483.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.1453, allocations: 12.81 kB / 483.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.584e-05/0.1453, allocations: 34.75 kB / 483.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.732e-05/0.1454, allocations: 8.844 kB / 483.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.1456, allocations: 216.7 kB / 483.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.1457, allocations: 384 / 483.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.1457, allocations: 11.92 kB / 483.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.1459, allocations: 57.61 kB / 483.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.1459, allocations: 3.906 kB / 483.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.1459, allocations: 4 kB / 483.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.146, allocations: 0 / 483.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.804e-05/0.146, allocations: 23.98 kB / 483.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004368/0.1465, allocations: 284.9 kB / 483.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.1467, allocations: 58.61 kB / 483.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.631e-05/0.1468, allocations: 32.84 kB / 483.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.1468, allocations: 4 kB / 483.9 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002337/0.147, allocations: 63.39 kB / 484 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.482e-06/0.1471, allocations: 0 / 484 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006235/0.1477, allocations: 169.2 kB / 484.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.1477, allocations: 55.41 kB / 484.2 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.148, allocations: 202.7 kB / 484.4 MB, free: 388 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.148, allocations: 29.7 kB / 484.4 MB, free: 352 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.287e-05/0.148, allocations: 100.1 kB / 484.5 MB, free: 248 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.1481, allocations: 23.7 kB / 484.6 MB, free: 224 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.1481, allocations: 17.72 kB / 484.6 MB, free: 200 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1483, allocations: 326.8 kB / 484.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.323e-05/0.1484, allocations: 19.98 kB / 484.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.325e-05/0.1484, allocations: 45.64 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.1486, allocations: 53.72 kB / 485 MB, free: 15.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1486, allocations: 0 / 485 MB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001929/0.1488, allocations: 109.4 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1488, allocations: 8 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1488, allocations: 0 / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1488, allocations: 0 / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.083e-05/0.1489, allocations: 15.98 kB / 485.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1489, allocations: 8.031 kB / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.86e-05/0.149, allocations: 3.938 kB / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.149, allocations: 4.188 kB / 485.2 MB, free: 15.59 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.000116/0.1491, allocations: 125.8 kB / 485.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.1492, allocations: 23.77 kB / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.583e-05/0.1492, allocations: 13.56 kB / 485.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1492, allocations: 0 / 485.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1492, allocations: 0 / 485.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1493, allocations: 7.938 kB / 485.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004886/0.1497, allocations: 403.2 kB / 485.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1498, allocations: 0 / 485.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.225e-05/0.1498, allocations: 8 kB / 485.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.1498, allocations: 7.938 kB / 485.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1498, allocations: 0 / 485.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.1498, allocations: 384 / 485.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1498, allocations: 0 / 485.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.1501, allocations: 212.2 kB / 485.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.1501, allocations: 88.92 kB / 486 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.1502, allocations: 7.938 kB / 486 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.069e-05/0.1503, allocations: 4 kB / 486 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.1503, allocations: 7.984 kB / 486 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.1503, allocations: 4 kB / 486 MB, free: 14.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.1505, allocations: 156.7 kB / 486.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1505, allocations: 0 / 486.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.1507, allocations: 24 kB / 486.2 MB, free: 14.41 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.00151/0.1523, allocations: 1.094 MB / 487.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001813/0.1525, allocations: 55.98 kB / 487.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1525, allocations: 0 / 487.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.637e-05/0.1525, allocations: 27.92 kB / 487.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.1529, allocations: 32.11 kB / 487.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.1548, allocations: 1.665 MB / 489.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.1551, allocations: 0.7082 MB / 489.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.745e-05/0.1552, allocations: 8.891 kB / 489.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.601e-05/0.1552, allocations: 35.42 kB / 489.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1552, allocations: 0 / 489.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0147/0.17, allocations: 3.205 MB / 493.1 MB, free: 7.699 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/0.1702, allocations: 236.8 kB / 493.3 MB, free: 7.445 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.005/2.175, allocations: 0 / 493.3 MB, free: 7.445 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches