Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 116.9 kB / 18.49 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002401/0.002401, allocations: 217.4 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.54/1.54, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2343/0.2343, allocations: 44.9 MB / 355.8 MB, free: 12.33 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002284/0.002284, allocations: 71.89 kB / 0.4886 GB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1383, allocations: 65.42 MB / 0.5525 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003946/0.1422, allocations: 1.938 MB / 0.5544 GB, free: 8.133 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.1442, allocations: 1.072 MB / 0.5554 GB, free: 7.055 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.1443, allocations: 3.938 kB / 0.5555 GB, free: 7.051 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003027/0.1446, allocations: 43.72 kB / 0.5555 GB, free: 7.008 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003571/0.145, allocations: 99.47 kB / 0.5556 GB, free: 6.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.1452, allocations: 99.64 kB / 0.5557 GB, free: 6.812 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002595/0.1455, allocations: 143.5 kB / 0.5558 GB, free: 6.672 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.1456, allocations: 29.75 kB / 0.5558 GB, free: 6.641 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.1457, allocations: 55.72 kB / 0.5559 GB, free: 6.586 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.1458, allocations: 55.66 kB / 0.556 GB, free: 6.531 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.1459, allocations: 8 kB / 0.556 GB, free: 6.523 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.146, allocations: 47.97 kB / 0.556 GB, free: 6.477 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.354e-05/0.1461, allocations: 27.91 kB / 0.556 GB, free: 6.449 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.447e-05/0.1461, allocations: 55.62 kB / 0.5561 GB, free: 6.395 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000286/0.1464, allocations: 159.2 kB / 0.5562 GB, free: 6.238 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1464, allocations: 0 / 0.5562 GB, free: 6.238 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1464, allocations: 0 / 0.5562 GB, free: 6.238 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.1464, allocations: 0 / 0.5562 GB, free: 6.238 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007026/0.1471, allocations: 496.1 kB / 0.5567 GB, free: 5.699 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1472, allocations: 8.031 kB / 0.5567 GB, free: 5.691 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.39e-05/0.1472, allocations: 4.188 kB / 0.5567 GB, free: 5.688 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.023e-05/0.1472, allocations: 38.75 kB / 0.5568 GB, free: 5.641 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.239e-05/0.1473, allocations: 16.84 kB / 0.5568 GB, free: 5.625 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.1476, allocations: 232.9 kB / 0.557 GB, free: 5.355 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.1476, allocations: 4.125 kB / 0.557 GB, free: 5.352 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.1477, allocations: 12 kB / 0.557 GB, free: 5.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.1479, allocations: 100.2 kB / 0.5571 GB, free: 5.227 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.1479, allocations: 7.984 kB / 0.5571 GB, free: 5.219 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.1479, allocations: 8 kB / 0.5571 GB, free: 5.211 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.1479, allocations: 4 kB / 0.5571 GB, free: 5.207 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.1481, allocations: 51.89 kB / 0.5572 GB, free: 5.156 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006859/0.1488, allocations: 0.5048 MB / 0.5577 GB, free: 4.594 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003614/0.1491, allocations: 86.59 kB / 0.5578 GB, free: 4.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.801e-05/0.1492, allocations: 32.84 kB / 0.5578 GB, free: 4.465 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.1493, allocations: 4 kB / 0.5578 GB, free: 4.461 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002053/0.1495, allocations: 91.3 kB / 0.5579 GB, free: 4.359 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.1495, allocations: 0 / 0.5579 GB, free: 4.359 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.000423/0.1499, allocations: 145.4 kB / 0.558 GB, free: 4.211 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.1499, allocations: 55.41 kB / 0.5581 GB, free: 4.145 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.1502, allocations: 198.2 kB / 0.5583 GB, free: 3.941 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.1502, allocations: 29.7 kB / 0.5583 GB, free: 3.906 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.771e-05/0.1503, allocations: 124 kB / 0.5584 GB, free: 3.781 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.1503, allocations: 28.17 kB / 0.5584 GB, free: 3.754 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.116e-05/0.1504, allocations: 25.72 kB / 0.5585 GB, free: 3.723 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1505, allocations: 326.8 kB / 0.5588 GB, free: 3.395 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.432e-05/0.1506, allocations: 27.98 kB / 0.5588 GB, free: 3.367 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.1507, allocations: 72.33 kB / 0.5589 GB, free: 3.281 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.1509, allocations: 104.2 kB / 0.559 GB, free: 3.164 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1509, allocations: 0 / 0.559 GB, free: 3.164 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003075/0.1512, allocations: 141.5 kB / 0.5591 GB, free: 3.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1512, allocations: 6.031 kB / 0.5591 GB, free: 3.016 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1513, allocations: 4 kB / 0.5591 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.1513, allocations: 3.938 kB / 0.5591 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.1514, allocations: 23.98 kB / 0.5591 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.1514, allocations: 3.938 kB / 0.5591 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.46e-05/0.1515, allocations: 19.88 kB / 0.5592 GB, free: 2.961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.1515, allocations: 8 kB / 0.5592 GB, free: 2.953 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001233/0.1516, allocations: 124.1 kB / 0.5593 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.1516, allocations: 15.91 kB / 0.5593 GB, free: 2.809 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.726e-05/0.1517, allocations: 25.33 kB / 0.5593 GB, free: 2.781 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1517, allocations: 0 / 0.5593 GB, free: 2.781 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1517, allocations: 0 / 0.5593 GB, free: 2.781 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1517, allocations: 0 / 0.5593 GB, free: 2.781 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.1519, allocations: 205.6 kB / 0.5595 GB, free: 2.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1519, allocations: 4 kB / 0.5595 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.066e-05/0.152, allocations: 11.98 kB / 0.5595 GB, free: 2.516 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.152, allocations: 0 / 0.5595 GB, free: 2.516 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.152, allocations: 7.938 kB / 0.5595 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.152, allocations: 11.88 kB / 0.5596 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.152, allocations: 0 / 0.5596 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004088/0.1524, allocations: 188.9 kB / 0.5597 GB, free: 2.293 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.485e-05/0.1525, allocations: 92.98 kB / 0.5598 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.1525, allocations: 7.938 kB / 0.5598 GB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.522e-05/0.1526, allocations: 8.062 kB / 0.5598 GB, free: 2.168 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.1526, allocations: 11.98 kB / 0.5598 GB, free: 2.156 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.1526, allocations: 4 kB / 0.5599 GB, free: 2.152 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001365/0.1528, allocations: 140.4 kB / 0.56 GB, free: 2.016 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1528, allocations: 0 / 0.56 GB, free: 2.016 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.153, allocations: 27.98 kB / 0.56 GB, free: 1.988 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.002189/0.1552, allocations: 1.024 MB / 0.561 GB, free: 1.098 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003142/0.1555, allocations: 83.77 kB / 0.5611 GB, free: 1.016 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1555, allocations: 0 / 0.5611 GB, free: 1.016 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.1556, allocations: 31.98 kB / 0.5611 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.156, allocations: 55.77 kB / 0.5612 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/0.1583, allocations: 1.766 MB / 0.5629 GB, free: 15.06 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004816/0.1588, allocations: 0.7162 MB / 0.5636 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.512e-05/0.1589, allocations: 17.42 kB / 0.5636 GB, free: 14.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.931e-05/0.159, allocations: 43.42 kB / 0.5637 GB, free: 14.26 MB / 430.1 MB Notification: Performance of SimCode: time 7.71e-07/0.159, allocations: 0 / 0.5637 GB, free: 14.26 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0239/0.1829, allocations: 3.879 MB / 0.5674 GB, free: 10.46 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.494/8.677, allocations: 11.19 kB / 0.5675 GB, free: 10.46 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.032264300971292]