Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.001321/0.001321, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.00136/0.00136, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.483/1.483, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2297/0.2297, allocations: 46.93 MB / 357.1 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 75.88 kB / 0.491 GB, free: 7.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1295, allocations: 65.99 MB / 0.5555 GB, free: 5.75 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003134/0.1327, allocations: 1.733 MB / 0.5572 GB, free: 4.004 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.1345, allocations: 1.03 MB / 0.5582 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.252e-05/0.1346, allocations: 4 kB / 0.5582 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.1349, allocations: 55.75 kB / 0.5582 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.1352, allocations: 103.5 kB / 0.5583 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.1354, allocations: 75.67 kB / 0.5584 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.1355, allocations: 107.7 kB / 0.5585 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.583e-05/0.1356, allocations: 8 kB / 0.5585 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.571e-05/0.1357, allocations: 43.78 kB / 0.5585 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.003e-05/0.1358, allocations: 39.78 kB / 0.5586 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.1358, allocations: 4 kB / 0.5586 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.691e-05/0.1359, allocations: 47.98 kB / 0.5586 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.813e-05/0.136, allocations: 27.86 kB / 0.5587 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.39e-05/0.1361, allocations: 47.66 kB / 0.5587 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.1363, allocations: 127.4 kB / 0.5588 GB, free: 2.289 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1363, allocations: 4 kB / 0.5588 GB, free: 2.285 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1363, allocations: 0 / 0.5588 GB, free: 2.285 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1363, allocations: 0 / 0.5588 GB, free: 2.285 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006345/0.1369, allocations: 458.3 kB / 0.5593 GB, free: 1.789 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.137, allocations: 8.031 kB / 0.5593 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.511e-05/0.137, allocations: 38.73 kB / 0.5593 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.137, allocations: 16.84 kB / 0.5593 GB, free: 1.719 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003342/0.1374, allocations: 221.1 kB / 0.5595 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.1374, allocations: 8.312 kB / 0.5595 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.1374, allocations: 3.938 kB / 0.5596 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.1376, allocations: 53.67 kB / 0.5596 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1376, allocations: 0 / 0.5596 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.1376, allocations: 0 / 0.5596 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1376, allocations: 4 kB / 0.5596 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.441e-05/0.1377, allocations: 19.92 kB / 0.5596 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.1381, allocations: 308.8 kB / 0.5599 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.1383, allocations: 50.69 kB / 0.56 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.961e-05/0.1383, allocations: 20.84 kB / 0.56 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.1383, allocations: 4 kB / 0.56 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.1385, allocations: 71.33 kB / 0.5601 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.1385, allocations: 0 / 0.5601 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005905/0.1391, allocations: 189.3 kB / 0.5602 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.1392, allocations: 51.41 kB / 0.5603 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/0.1395, allocations: 274.7 kB / 0.5606 GB, free: 320 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.1395, allocations: 33.7 kB / 0.5606 GB, free: 280 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.075e-05/0.1396, allocations: 112.1 kB / 0.5607 GB, free: 164 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.1396, allocations: 31.78 kB / 0.5607 GB, free: 132 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.738e-05/0.1397, allocations: 21.66 kB / 0.5607 GB, free: 104 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002137/0.1399, allocations: 334.8 kB / 0.5611 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.896e-05/0.14, allocations: 12 kB / 0.5611 GB, free: 15.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.544e-05/0.14, allocations: 41.7 kB / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.1402, allocations: 61.64 kB / 0.5612 GB, free: 15.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1402, allocations: 0 / 0.5612 GB, free: 15.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002301/0.1404, allocations: 113.5 kB / 0.5613 GB, free: 15.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.1404, allocations: 4 kB / 0.5613 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.1404, allocations: 4 kB / 0.5613 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.1404, allocations: 0 / 0.5613 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.1405, allocations: 12 kB / 0.5613 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1405, allocations: 0 / 0.5613 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.623e-05/0.1406, allocations: 11.92 kB / 0.5613 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.1406, allocations: 4 kB / 0.5613 GB, free: 15.49 MB / 430.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.0001557/0.1408, allocations: 138.2 kB / 0.5614 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.1408, allocations: 15.91 kB / 0.5615 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.4e-05/0.1408, allocations: 21.41 kB / 0.5615 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1408, allocations: 192 / 0.5615 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.1409, allocations: 7.984 kB / 0.5615 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.1409, allocations: 7.875 kB / 0.5615 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000542/0.1414, allocations: 411.4 kB / 0.5619 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1414, allocations: 0 / 0.5619 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.488e-05/0.1414, allocations: 11.94 kB / 0.5619 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1414, allocations: 3.938 kB / 0.5619 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.1415, allocations: 8 kB / 0.5619 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1415, allocations: 0 / 0.5619 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1415, allocations: 0 / 0.5619 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.1418, allocations: 208.3 kB / 0.5621 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.9e-05/0.1418, allocations: 97 kB / 0.5622 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.1419, allocations: 3.938 kB / 0.5622 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.31e-05/0.1419, allocations: 4.375 kB / 0.5622 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.142, allocations: 3.984 kB / 0.5622 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.142, allocations: 4 kB / 0.5622 GB, free: 14.46 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002182/0.1422, allocations: 212.5 kB / 0.5624 GB, free: 14.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1422, allocations: 0 / 0.5624 GB, free: 14.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002822/0.1425, allocations: 27.92 kB / 0.5624 GB, free: 14.22 MB / 430.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.002448/0.1449, allocations: 1.088 MB / 0.5635 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.1451, allocations: 55.91 kB / 0.5636 GB, free: 13.24 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.1452, allocations: 0 / 0.5636 GB, free: 13.24 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.435e-05/0.1452, allocations: 35.91 kB / 0.5636 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.1456, allocations: 34.52 kB / 0.5636 GB, free: 13.17 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.1479, allocations: 1.851 MB / 0.5654 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/0.1483, allocations: 0.7196 MB / 0.5661 GB, free: 10.48 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.917e-05/0.1484, allocations: 8.891 kB / 0.5661 GB, free: 10.48 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.997e-05/0.1485, allocations: 51.41 kB / 0.5662 GB, free: 10.43 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1485, allocations: 0 / 0.5662 GB, free: 10.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0269/0.1754, allocations: 3.811 MB / 0.5699 GB, free: 6.668 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.172/8.347, allocations: 11.42 kB / 0.5699 GB, free: 6.66 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498107 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.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: 11.37732139811851]