Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",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.001219/0.001219, allocations: 104.1 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.001284/0.001284, allocations: 190 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.481/1.481, allocations: 222.9 MB / 241.8 MB, free: 13.77 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.2398/0.2398, allocations: 44.17 MB / 336.1 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 71.78 kB / 407.8 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1386, allocations: 60.82 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.00351/0.1421, allocations: 1.788 MB / 470.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.1436, allocations: 0.8537 MB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.1438, allocations: 7.875 kB / 471.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003686/0.1441, allocations: 95.8 kB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.1444, allocations: 63.8 kB / 471.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.1448, allocations: 103.5 kB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.145, allocations: 107.7 kB / 471.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.1451, allocations: 12 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.1453, allocations: 47.78 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.1454, allocations: 67.73 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.1454, allocations: 0 / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.1456, allocations: 63.91 kB / 471.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.393e-05/0.1457, allocations: 23.92 kB / 471.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.023e-05/0.1457, allocations: 35.73 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.146, allocations: 139.8 kB / 472 MB, free: 11.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.146, allocations: 0 / 472 MB, free: 11.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.146, allocations: 0 / 472 MB, free: 11.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.146, allocations: 0 / 472 MB, free: 11.32 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005923/0.1466, allocations: 430.9 kB / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.1467, allocations: 8.031 kB / 472.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.121e-05/0.1467, allocations: 34.75 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.96e-05/0.1468, allocations: 20.69 kB / 472.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.147, allocations: 212.5 kB / 472.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.147, allocations: 8.375 kB / 472.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.1471, allocations: 11.84 kB / 472.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.1472, allocations: 61.66 kB / 472.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1473, allocations: 0 / 472.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.1473, allocations: 3.984 kB / 472.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1473, allocations: 0 / 472.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.49e-05/0.1474, allocations: 23.92 kB / 472.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.1478, allocations: 300.8 kB / 473.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.148, allocations: 62.55 kB / 473.2 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.734e-05/0.1481, allocations: 20.98 kB / 473.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.1482, allocations: 0 / 473.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002135/0.1484, allocations: 79.31 kB / 473.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.1484, allocations: 4 kB / 473.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007941/0.1492, allocations: 241.5 kB / 473.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.1492, allocations: 55.34 kB / 473.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.1494, allocations: 230.5 kB / 473.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.1495, allocations: 29.7 kB / 473.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.632e-05/0.1495, allocations: 108.1 kB / 473.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/0.1496, allocations: 35.55 kB / 474 MB, free: 9.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/0.1496, allocations: 29.72 kB / 474 MB, free: 9.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1498, allocations: 326.8 kB / 474.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.437e-05/0.1498, allocations: 28 kB / 474.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.037e-05/0.1499, allocations: 49.69 kB / 474.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.1501, allocations: 81.7 kB / 474.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1501, allocations: 3.938 kB / 474.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002274/0.1503, allocations: 133.4 kB / 474.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1504, allocations: 6.188 kB / 474.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1504, allocations: 4 kB / 474.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1504, allocations: 0 / 474.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.373e-05/0.1505, allocations: 23.92 kB / 474.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.1505, allocations: 4 kB / 474.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.965e-05/0.1505, allocations: 4 kB / 474.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.1506, allocations: 7.984 kB / 474.6 MB, free: 8.441 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 (13): * Single equations (assignments): 13 * 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.0001156/0.1507, allocations: 137.8 kB / 474.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.1507, allocations: 15.81 kB / 474.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.115e-05/0.1508, allocations: 21.39 kB / 474.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1508, allocations: 7.938 kB / 474.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1508, allocations: 0 / 474.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1508, allocations: 0 / 474.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005142/0.1513, allocations: 456 kB / 475.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1513, allocations: 0 / 475.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.633e-05/0.1514, allocations: 12 kB / 475.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1514, allocations: 0 / 475.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.1514, allocations: 11.98 kB / 475.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.1514, allocations: 0 / 475.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1514, allocations: 0 / 475.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.1517, allocations: 240.9 kB / 475.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.006e-05/0.1518, allocations: 84.92 kB / 475.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.1518, allocations: 11.98 kB / 475.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.629e-05/0.1519, allocations: 8 kB / 475.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.1519, allocations: 7.984 kB / 475.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.1519, allocations: 4 kB / 475.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001365/0.1521, allocations: 168.3 kB / 475.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1521, allocations: 0 / 475.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.1524, allocations: 35.98 kB / 475.8 MB, free: 7.133 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001593/0.154, allocations: 1.173 MB / 477 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.1542, allocations: 79.91 kB / 477.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1542, allocations: 0 / 477.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.681e-05/0.1543, allocations: 43.92 kB / 477.1 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.1547, allocations: 29.81 kB / 477.2 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.1566, allocations: 1.833 MB / 479 MB, free: 4.062 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.1569, allocations: 0.7236 MB / 479.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.149e-05/0.157, allocations: 20.62 kB / 479.7 MB, free: 3.293 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.304e-05/0.1571, allocations: 39.42 kB / 479.8 MB, free: 3.254 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1571, allocations: 0 / 479.8 MB, free: 3.254 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0267/0.1838, allocations: 3.601 MB / 483.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003817/0.1842, allocations: 246.8 kB / 483.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.075, allocations: 0 / 483.6 MB, free: 15.5 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches