Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",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.001236/0.001236, allocations: 106.3 kB / 17.33 MB, free: 6 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.001329/0.00133, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.453/1.453, allocations: 222.9 MB / 241.9 MB, free: 15.39 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.2354/0.2354, allocations: 44.18 MB / 336.3 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001854, allocations: 63.55 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.128, allocations: 60.82 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003652/0.1317, allocations: 1.78 MB / 470.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.1334, allocations: 0.8731 MB / 471.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.1335, allocations: 4 kB / 471.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.1339, allocations: 35.89 kB / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002814/0.1342, allocations: 55.75 kB / 471.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.1345, allocations: 98.83 kB / 471.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000191/0.1347, allocations: 119.7 kB / 471.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.1348, allocations: 15.98 kB / 471.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.135, allocations: 47.8 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.1351, allocations: 59.69 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.1351, allocations: 8 kB / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.1353, allocations: 51.98 kB / 472 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.938e-05/0.1353, allocations: 31.91 kB / 472 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.991e-05/0.1354, allocations: 39.73 kB / 472 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.1356, allocations: 143.9 kB / 472.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1357, allocations: 3.938 kB / 472.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1357, allocations: 4 kB / 472.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.301e-06/0.1357, allocations: 0 / 472.2 MB, free: 11.27 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006029/0.1363, allocations: 430.9 kB / 472.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.1363, allocations: 12.03 kB / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.999e-05/0.1364, allocations: 34.73 kB / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.52e-05/0.1365, allocations: 12.84 kB / 472.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.1367, allocations: 220.7 kB / 472.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.1368, allocations: 8.359 kB / 472.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.1368, allocations: 7.938 kB / 472.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.137, allocations: 77.59 kB / 473 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.137, allocations: 0 / 473 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.1371, allocations: 7.938 kB / 473 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1371, allocations: 0 / 473 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.1372, allocations: 39.97 kB / 473 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004811/0.1377, allocations: 324.7 kB / 473.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/0.138, allocations: 86.53 kB / 473.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.274e-05/0.1381, allocations: 32.84 kB / 473.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.1381, allocations: 0 / 473.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002269/0.1384, allocations: 87.34 kB / 473.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 3.036e-06/0.1384, allocations: 3.984 kB / 473.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009052/0.1393, allocations: 285.1 kB / 473.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.1394, allocations: 63.28 kB / 473.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.1395, allocations: 183.3 kB / 474.1 MB, free: 9.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.1396, allocations: 29.7 kB / 474.1 MB, free: 9.145 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.1396, allocations: 112.3 kB / 474.2 MB, free: 9.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.584e-05/0.1397, allocations: 39.39 kB / 474.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.053e-05/0.1398, allocations: 33.7 kB / 474.3 MB, free: 8.953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1399, allocations: 326.8 kB / 474.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.478e-05/0.14, allocations: 43.98 kB / 474.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.1401, allocations: 52.38 kB / 474.7 MB, free: 8.527 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.1403, allocations: 100.7 kB / 474.8 MB, free: 8.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1403, allocations: 0 / 474.8 MB, free: 8.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002756/0.1406, allocations: 157.5 kB / 474.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1406, allocations: 4 kB / 474.9 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1406, allocations: 4.031 kB / 474.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.1406, allocations: 0 / 474.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.087e-05/0.1407, allocations: 32.7 kB / 475 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1407, allocations: 4 kB / 475 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.656e-05/0.1408, allocations: 0 / 475 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.1408, allocations: 8 kB / 475 MB, free: 8.215 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 (15): * Single equations (assignments): 15 * 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.0001165/0.1409, allocations: 129.8 kB / 475.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.1409, allocations: 15.81 kB / 475.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.444e-05/0.141, allocations: 17.53 kB / 475.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.141, allocations: 15.86 kB / 475.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.141, allocations: 0 / 475.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.141, allocations: 3.938 kB / 475.2 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005729/0.1416, allocations: 488.1 kB / 475.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1416, allocations: 0 / 475.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.651e-05/0.1417, allocations: 19.98 kB / 475.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.1417, allocations: 4.062 kB / 475.7 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.1417, allocations: 8 kB / 475.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1417, allocations: 0 / 475.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1417, allocations: 0 / 475.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003278/0.1421, allocations: 253 kB / 475.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.322e-05/0.1421, allocations: 92.92 kB / 476 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.1422, allocations: 4 kB / 476 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.557e-05/0.1423, allocations: 11.92 kB / 476 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.1423, allocations: 11.98 kB / 476 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.1423, allocations: 4 kB / 476 MB, free: 7.047 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.1424, allocations: 140.9 kB / 476.2 MB, free: 6.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1425, allocations: 0 / 476.2 MB, free: 6.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002757/0.1427, allocations: 36 kB / 476.2 MB, free: 6.875 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 (13): * Single equations (assignments): 11 * 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.001631/0.1444, allocations: 1.208 MB / 477.4 MB, free: 5.848 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002692/0.1447, allocations: 107.8 kB / 477.5 MB, free: 5.742 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1447, allocations: 4.062 kB / 477.5 MB, free: 5.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.1448, allocations: 51.92 kB / 477.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.1451, allocations: 35.5 kB / 477.6 MB, free: 5.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.1472, allocations: 1.845 MB / 479.5 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.1475, allocations: 0.72 MB / 480.2 MB, free: 2.973 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.327e-05/0.1476, allocations: 25.41 kB / 480.2 MB, free: 2.949 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.644e-05/0.1476, allocations: 43.42 kB / 480.2 MB, free: 2.906 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1477, allocations: 0 / 480.2 MB, free: 2.906 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01419/0.1619, allocations: 3.801 MB / 484 MB, free: 15.21 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002415/0.1621, allocations: 240.4 kB / 484.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.845/2.007, allocations: 4 kB / 484.3 MB, free: 14.95 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches