Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 119 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002141/0.002141, allocations: 194.9 kB / 21.44 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 249.8 MB, free: 3.621 MB / 190.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.2146/0.2146, allocations: 44.91 MB / 349.6 MB, free: 1.742 MB / 270.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.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.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002943/0.002943, allocations: 61.47 kB / 491.8 MB, free: 29.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1266, allocations: 64.27 MB / 0.5431 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003202/0.1298, allocations: 1.668 MB / 0.5447 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.1313, allocations: 0.869 MB / 0.5456 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.358e-05/0.1313, allocations: 8 kB / 0.5456 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.1316, allocations: 55.8 kB / 0.5456 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.1318, allocations: 71.67 kB / 0.5457 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.1321, allocations: 99.67 kB / 0.5458 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.1323, allocations: 99.62 kB / 0.5459 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.342e-05/0.1323, allocations: 4 kB / 0.5459 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.353e-05/0.1324, allocations: 51.77 kB / 0.5459 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.1325, allocations: 47.77 kB / 0.546 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.1325, allocations: 8 kB / 0.546 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.895e-05/0.1326, allocations: 31.98 kB / 0.546 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.961e-05/0.1327, allocations: 15.92 kB / 0.546 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.593e-05/0.1327, allocations: 31.8 kB / 0.5461 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.1329, allocations: 103.8 kB / 0.5462 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1329, allocations: 0 / 0.5462 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1329, allocations: 0 / 0.5462 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1329, allocations: 0 / 0.5462 GB, free: 0.7695 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005771/0.1335, allocations: 406.8 kB / 0.5465 GB, free: 332 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.1335, allocations: 12.03 kB / 0.5466 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.816e-05/0.1336, allocations: 42.73 kB / 0.5466 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.1336, allocations: 8.891 kB / 0.5466 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.1339, allocations: 200.1 kB / 0.5468 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.1339, allocations: 8.359 kB / 0.5468 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.1339, allocations: 3.938 kB / 0.5468 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.1341, allocations: 41.69 kB / 0.5468 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.1341, allocations: 4 kB / 0.5469 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.1341, allocations: 11.92 kB / 0.5469 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1341, allocations: 4 kB / 0.5469 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.568e-05/0.1342, allocations: 8 kB / 0.5469 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002034/0.1344, allocations: 181.7 kB / 0.547 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.1345, allocations: 58.55 kB / 0.5471 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.105e-05/0.1346, allocations: 16.84 kB / 0.5471 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.1346, allocations: 0 / 0.5471 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.1348, allocations: 71.33 kB / 0.5472 GB, free: 15.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.1348, allocations: 0 / 0.5472 GB, free: 15.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002748/0.135, allocations: 101.6 kB / 0.5473 GB, free: 15.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.1351, allocations: 51.41 kB / 0.5473 GB, free: 15.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.1353, allocations: 186.2 kB / 0.5475 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.1353, allocations: 25.7 kB / 0.5475 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.157e-05/0.1353, allocations: 104.1 kB / 0.5476 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.1354, allocations: 15.89 kB / 0.5476 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.1354, allocations: 21.72 kB / 0.5477 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1355, allocations: 322.8 kB / 0.548 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.667e-05/0.1356, allocations: 12 kB / 0.548 GB, free: 14.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.787e-05/0.1356, allocations: 33.66 kB / 0.548 GB, free: 14.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.693e-05/0.1357, allocations: 45.95 kB / 0.5481 GB, free: 14.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.1358, allocations: 7.938 kB / 0.5481 GB, free: 14.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00021/0.136, allocations: 85.52 kB / 0.5482 GB, free: 14.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.136, allocations: 4 kB / 0.5482 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.136, allocations: 0 / 0.5482 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.136, allocations: 0 / 0.5482 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.526e-05/0.1361, allocations: 15.98 kB / 0.5482 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1361, allocations: 4 kB / 0.5482 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.903e-05/0.1361, allocations: 0 / 0.5482 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.1361, allocations: 8.031 kB / 0.5482 GB, free: 14.44 MB / 414.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 (7): * Single equations (assignments): 7 * 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.0001026/0.1362, allocations: 128.4 kB / 0.5483 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.046e-05/0.1363, allocations: 15.84 kB / 0.5483 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.547e-05/0.1363, allocations: 16.25 kB / 0.5483 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1363, allocations: 0 / 0.5483 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.1363, allocations: 4 kB / 0.5483 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1363, allocations: 0 / 0.5483 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.1365, allocations: 189.5 kB / 0.5485 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1365, allocations: 0 / 0.5485 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.906e-05/0.1365, allocations: 4 kB / 0.5485 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1365, allocations: 4 kB / 0.5485 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.1365, allocations: 4 kB / 0.5485 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1365, allocations: 0 / 0.5485 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1365, allocations: 0 / 0.5485 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.1367, allocations: 113 kB / 0.5486 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-05/0.1368, allocations: 85.06 kB / 0.5487 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.1368, allocations: 0 / 0.5487 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.767e-05/0.1369, allocations: 7.984 kB / 0.5487 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.849e-05/0.1369, allocations: 4 kB / 0.5487 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.1369, allocations: 128 / 0.5487 GB, free: 13.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.137, allocations: 156 kB / 0.5489 GB, free: 13.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.137, allocations: 0 / 0.5489 GB, free: 13.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002033/0.1372, allocations: 12 kB / 0.5489 GB, free: 13.62 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001811/0.139, allocations: 0.954 MB / 0.5498 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001613/0.1392, allocations: 43.92 kB / 0.5499 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1392, allocations: 0 / 0.5499 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.124e-05/0.1393, allocations: 19.98 kB / 0.5499 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.1395, allocations: 28.11 kB / 0.5499 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.1412, allocations: 1.485 MB / 0.5514 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.1416, allocations: 0.7002 MB / 0.552 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.933e-05/0.1416, allocations: 8.547 kB / 0.5521 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.883e-05/0.1417, allocations: 31.42 kB / 0.5521 GB, free: 10.38 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1417, allocations: 3.938 kB / 0.5521 GB, free: 10.37 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.1665, allocations: 3.102 MB / 0.5551 GB, free: 7.312 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.16/8.326, allocations: 8 kB / 0.5551 GB, free: 7.305 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --stepSize=0.0197433 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.228130603209138]