Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001415/0.001415, 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.001637/0.001637, 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.45/1.45, allocations: 227.4 MB / 246.3 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2319/0.2319, allocations: 46.1 MB / 343.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 80.53 kB / 416.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1463, allocations: 62.45 MB / 479.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003638/0.15, allocations: 1.793 MB / 481.2 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001771/0.1518, allocations: 1.017 MB / 482.2 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.997e-05/0.1519, allocations: 0 / 482.2 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000363/0.1523, allocations: 43.83 kB / 482.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003176/0.1526, allocations: 71.75 kB / 482.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.1529, allocations: 63.88 kB / 482.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.1531, allocations: 99.64 kB / 482.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.1532, allocations: 19.95 kB / 482.5 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.789e-05/0.1533, allocations: 35.8 kB / 482.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.895e-05/0.1534, allocations: 31.8 kB / 482.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.1535, allocations: 8 kB / 482.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.1536, allocations: 43.97 kB / 482.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.826e-05/0.1537, allocations: 19.92 kB / 482.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.727e-05/0.1537, allocations: 39.67 kB / 482.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.154, allocations: 111.9 kB / 482.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.154, allocations: 0 / 482.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.154, allocations: 0 / 482.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.154, allocations: 0 / 482.8 MB, free: 2.246 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.0006158/0.1546, allocations: 419 kB / 483.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.1547, allocations: 8.875 kB / 483.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.701e-05/0.1547, allocations: 34.75 kB / 483.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.825e-05/0.1548, allocations: 12.84 kB / 483.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.1551, allocations: 220.7 kB / 483.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.1551, allocations: 4.312 kB / 483.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.1551, allocations: 7.938 kB / 483.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.1553, allocations: 53.67 kB / 483.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1553, allocations: 3.906 kB / 483.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.1553, allocations: 4 kB / 483.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1553, allocations: 0 / 483.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.452e-05/0.1554, allocations: 23.98 kB / 483.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.1558, allocations: 288.9 kB / 483.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.156, allocations: 54.62 kB / 483.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.605e-05/0.1561, allocations: 20.84 kB / 483.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.1561, allocations: 8 kB / 483.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00023/0.1564, allocations: 63.39 kB / 484 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.1564, allocations: 0 / 484 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005915/0.157, allocations: 177.2 kB / 484.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.157, allocations: 55.41 kB / 484.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.1572, allocations: 194.7 kB / 484.4 MB, free: 436 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.1573, allocations: 29.7 kB / 484.4 MB, free: 400 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.953e-05/0.1573, allocations: 108.1 kB / 484.5 MB, free: 288 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.1574, allocations: 23.66 kB / 484.6 MB, free: 264 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.65e-05/0.1574, allocations: 21.7 kB / 484.6 MB, free: 236 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1576, allocations: 326.8 kB / 484.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.999e-05/0.1576, allocations: 19.94 kB / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.821e-05/0.1577, allocations: 33.7 kB / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.1578, allocations: 65.7 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1578, allocations: 0 / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002025/0.1581, allocations: 101.4 kB / 485.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1581, allocations: 8 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1581, allocations: 0 / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1581, allocations: 0 / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-05/0.1582, allocations: 12 kB / 485.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.1582, allocations: 4 kB / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.148e-05/0.1583, allocations: 11.92 kB / 485.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.1583, allocations: 11.97 kB / 485.2 MB, free: 15.62 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.0001139/0.1584, allocations: 121.8 kB / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.1585, allocations: 15.91 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.934e-05/0.1585, allocations: 17.39 kB / 485.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1585, allocations: 0 / 485.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.1585, allocations: 3.984 kB / 485.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1585, allocations: 3.938 kB / 485.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004554/0.159, allocations: 403.6 kB / 485.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.159, allocations: 0 / 485.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.766e-05/0.1591, allocations: 12 kB / 485.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.1591, allocations: 7.938 kB / 485.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1591, allocations: 0 / 485.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1591, allocations: 240 / 485.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1591, allocations: 0 / 485.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.1593, allocations: 212.2 kB / 485.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.439e-05/0.1594, allocations: 92.91 kB / 486 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.1594, allocations: 7.938 kB / 486 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-05/0.1595, allocations: 0 / 486 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.1596, allocations: 11.98 kB / 486 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.1596, allocations: 4 kB / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.1597, allocations: 152.7 kB / 486.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1597, allocations: 0 / 486.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.16, allocations: 28.19 kB / 486.2 MB, free: 14.44 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.001496/0.1615, allocations: 1.085 MB / 487.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.1617, allocations: 59.91 kB / 487.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1617, allocations: 0 / 487.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.42e-05/0.1618, allocations: 27.98 kB / 487.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.1622, allocations: 39.42 kB / 487.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.164, allocations: 1.663 MB / 489.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.1643, allocations: 0.7083 MB / 489.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.372e-05/0.1643, allocations: 17.17 kB / 489.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.877e-05/0.1644, allocations: 35.42 kB / 489.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1644, allocations: 0 / 489.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01505/0.1795, allocations: 3.196 MB / 493.1 MB, free: 7.734 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003549/0.1799, allocations: 233 kB / 493.3 MB, free: 7.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.974/2.154, allocations: 0 / 493.3 MB, free: 7.48 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches