Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",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.001284/0.001284, allocations: 107 kB / 17.33 MB, free: 6.023 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.001266/0.001266, allocations: 193.3 kB / 18.25 MB, free: 5.117 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.445/1.445, allocations: 222.9 MB / 241.9 MB, free: 15.43 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.2222/0.2222, allocations: 44.17 MB / 336.2 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 66.5 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1393, allocations: 60.81 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.004579/0.144, allocations: 1.768 MB / 470.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.1459, allocations: 0.8498 MB / 471.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/0.1461, allocations: 7.938 kB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004945/0.1466, allocations: 47.81 kB / 471.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003721/0.1471, allocations: 51.83 kB / 471.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004935/0.1476, allocations: 91.2 kB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002796/0.1479, allocations: 99.7 kB / 471.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.148, allocations: 16.22 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.1482, allocations: 43.72 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.1483, allocations: 35.84 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.1483, allocations: 4 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.1485, allocations: 47.97 kB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.117e-05/0.1486, allocations: 19.92 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.31e-05/0.1487, allocations: 35.75 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.149, allocations: 119.8 kB / 472 MB, free: 11.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.149, allocations: 4 kB / 472.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.148e-06/0.149, allocations: 4 kB / 472.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.149, allocations: 7.938 kB / 472.1 MB, free: 11.38 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.000785/0.1498, allocations: 418.9 kB / 472.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.1499, allocations: 8.031 kB / 472.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.227e-05/0.1499, allocations: 30.75 kB / 472.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.756e-05/0.15, allocations: 16.75 kB / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.1503, allocations: 216.5 kB / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.1504, allocations: 4.375 kB / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.1504, allocations: 7.938 kB / 472.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.1506, allocations: 65.61 kB / 472.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.1506, allocations: 0 / 472.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.1506, allocations: 0 / 472.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.1506, allocations: 0 / 472.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.005e-05/0.1507, allocations: 19.98 kB / 472.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004867/0.1512, allocations: 292.7 kB / 473.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.1514, allocations: 66.61 kB / 473.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.396e-05/0.1515, allocations: 20.84 kB / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.1515, allocations: 0 / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002416/0.1518, allocations: 63.39 kB / 473.3 MB, free: 10 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.1518, allocations: 4 kB / 473.3 MB, free: 10 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006304/0.1524, allocations: 181.2 kB / 473.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.1525, allocations: 51.41 kB / 473.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002328/0.1527, allocations: 230.5 kB / 473.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.1528, allocations: 29.7 kB / 473.8 MB, free: 9.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.975e-05/0.1528, allocations: 104.1 kB / 473.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.38e-05/0.1529, allocations: 27.64 kB / 473.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/0.1529, allocations: 25.72 kB / 473.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1531, allocations: 326.8 kB / 474.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.09e-05/0.1532, allocations: 27.94 kB / 474.3 MB, free: 8.961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.783e-05/0.1532, allocations: 37.64 kB / 474.3 MB, free: 8.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.1534, allocations: 53.7 kB / 474.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1534, allocations: 0 / 474.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002061/0.1536, allocations: 105.6 kB / 474.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.1536, allocations: 4 kB / 474.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.1536, allocations: 8.031 kB / 474.5 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.1537, allocations: 3.984 kB / 474.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.798e-05/0.1538, allocations: 12 kB / 474.5 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1538, allocations: 0 / 474.5 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.222e-05/0.1538, allocations: 7.938 kB / 474.5 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.1538, allocations: 4 kB / 474.5 MB, free: 8.711 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 (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.0001357/0.154, allocations: 133.8 kB / 474.6 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.154, allocations: 15.75 kB / 474.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.667e-05/0.1541, allocations: 21.39 kB / 474.7 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1541, allocations: 4 kB / 474.7 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1541, allocations: 0 / 474.7 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.1541, allocations: 7.922 kB / 474.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004912/0.1546, allocations: 403.7 kB / 475.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1546, allocations: 0 / 475.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-05/0.1547, allocations: 12 kB / 475.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.1547, allocations: 3.938 kB / 475.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.1547, allocations: 0 / 475.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1547, allocations: 8.031 kB / 475.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1547, allocations: 0 / 475.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.155, allocations: 204.2 kB / 475.3 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/0.155, allocations: 89 kB / 475.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.155, allocations: 7.875 kB / 475.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.243e-05/0.1551, allocations: 4 kB / 475.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.1552, allocations: 7.984 kB / 475.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.1552, allocations: 8 kB / 475.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001402/0.1553, allocations: 172.3 kB / 475.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1553, allocations: 0 / 475.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.1556, allocations: 27.98 kB / 475.6 MB, free: 7.5 MB / 350.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.001553/0.1572, allocations: 1.094 MB / 476.7 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.1574, allocations: 59.97 kB / 476.7 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1574, allocations: 4.062 kB / 476.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.026e-05/0.1575, allocations: 32.08 kB / 476.8 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.1579, allocations: 32.59 kB / 476.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.1598, allocations: 1.732 MB / 478.5 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.1601, allocations: 0.708 MB / 479.2 MB, free: 3.883 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.234e-05/0.1602, allocations: 16.89 kB / 479.3 MB, free: 3.867 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.545e-05/0.1602, allocations: 39.42 kB / 479.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1603, allocations: 0 / 479.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.1753, allocations: 3.373 MB / 482.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000217/0.1756, allocations: 231.2 kB / 482.9 MB, free: 316 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.871/2.047, allocations: 4 kB / 482.9 MB, free: 312 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches