Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 109.4 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 241.8 MB, free: 15.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2634/0.2634, allocations: 44.18 MB / 336.1 MB, free: 3.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 71.27 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1347, allocations: 60.82 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.00368/0.1384, allocations: 1.713 MB / 470.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.14, allocations: 0.8459 MB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.943e-05/0.1401, allocations: 3.938 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.1404, allocations: 51.86 kB / 471.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002268/0.1406, allocations: 59.81 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003353/0.141, allocations: 95.14 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.1412, allocations: 83.7 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.896e-05/0.1412, allocations: 4 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.487e-05/0.1413, allocations: 47.77 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.699e-05/0.1414, allocations: 27.86 kB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.1414, allocations: 4 kB / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.5e-05/0.1415, allocations: 31.98 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.074e-05/0.1416, allocations: 27.84 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.091e-05/0.1417, allocations: 39.69 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.1419, allocations: 115.8 kB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1419, allocations: 0 / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1419, allocations: 0 / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.1419, allocations: 0 / 471.8 MB, free: 11.6 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.0005419/0.1424, allocations: 422.8 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.1425, allocations: 12.03 kB / 472.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.452e-05/0.1425, allocations: 38.73 kB / 472.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.237e-05/0.1426, allocations: 12.75 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.1428, allocations: 227.9 kB / 472.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.1428, allocations: 384 / 472.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.1429, allocations: 3.938 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.143, allocations: 45.69 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.143, allocations: 3.984 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.143, allocations: 0 / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.143, allocations: 0 / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.508e-05/0.1431, allocations: 16 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001799/0.1433, allocations: 193.7 kB / 472.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.1435, allocations: 54.5 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.945e-05/0.1435, allocations: 28.77 kB / 472.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.1436, allocations: 0 / 472.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/0.1438, allocations: 71.39 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.1438, allocations: 0 / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002699/0.144, allocations: 101.4 kB / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.1441, allocations: 55.39 kB / 473 MB, free: 10.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.1443, allocations: 258.9 kB / 473.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.1444, allocations: 33.69 kB / 473.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.067e-05/0.1444, allocations: 104.1 kB / 473.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.1445, allocations: 19.89 kB / 473.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.017e-05/0.1445, allocations: 17.72 kB / 473.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1447, allocations: 326.8 kB / 473.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.79e-05/0.1447, allocations: 15.98 kB / 473.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.105e-05/0.1448, allocations: 37.69 kB / 473.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.871e-05/0.1449, allocations: 41.66 kB / 473.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.1449, allocations: 7.938 kB / 473.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000184/0.1451, allocations: 85.48 kB / 474 MB, free: 9.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1452, allocations: 4 kB / 474 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1452, allocations: 4 kB / 474 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1452, allocations: 0 / 474 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.928e-05/0.1453, allocations: 11.94 kB / 474 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1453, allocations: 0 / 474 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.536e-05/0.1453, allocations: 11.84 kB / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.1454, allocations: 0 / 474 MB, free: 9.133 MB / 350.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.0001304/0.1455, allocations: 145.8 kB / 474.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.1455, allocations: 11.91 kB / 474.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.11e-05/0.1456, allocations: 13 kB / 474.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.1456, allocations: 4 kB / 474.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1456, allocations: 0 / 474.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1456, allocations: 0 / 474.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.1458, allocations: 193.6 kB / 474.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1458, allocations: 320 / 474.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.395e-05/0.1458, allocations: 11.94 kB / 474.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1458, allocations: 3.984 kB / 474.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.1458, allocations: 8 kB / 474.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.1459, allocations: 0 / 474.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1459, allocations: 7.938 kB / 474.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.1461, allocations: 112.8 kB / 474.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.835e-05/0.1461, allocations: 88.92 kB / 474.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.1462, allocations: 4 kB / 474.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.904e-05/0.1462, allocations: 4 kB / 474.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.1462, allocations: 7.984 kB / 474.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.1463, allocations: 4 kB / 474.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001698/0.1464, allocations: 196.2 kB / 474.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1464, allocations: 4 kB / 474.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002191/0.1467, allocations: 16 kB / 474.8 MB, free: 8.215 MB / 350.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.001303/0.148, allocations: 0.96 MB / 475.8 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001589/0.1481, allocations: 43.97 kB / 475.8 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1482, allocations: 0 / 475.8 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.073e-05/0.1482, allocations: 19.94 kB / 475.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.1485, allocations: 27.97 kB / 475.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.1503, allocations: 1.668 MB / 477.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.1506, allocations: 0.716 MB / 478.2 MB, free: 4.805 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.436e-05/0.1507, allocations: 16.53 kB / 478.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.183e-05/0.1507, allocations: 35.42 kB / 478.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1507, allocations: 0 / 478.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01286/0.1636, allocations: 3.16 MB / 481.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/0.1638, allocations: 237.5 kB / 481.7 MB, free: 1.438 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/2.047, allocations: 0 / 481.7 MB, free: 1.438 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches