Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.001667/0.001667, allocations: 116.8 kB / 18.5 MB, free: 4.434 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.001921/0.001921, allocations: 189.2 kB / 21.44 MB, free: 1.504 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.462/1.462, allocations: 225.6 MB / 249.8 MB, free: 3.609 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.239/0.239, allocations: 44.92 MB / 349.6 MB, free: 1.707 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.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 69.89 kB / 491.9 MB, free: 30.37 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1254, allocations: 64.25 MB / 0.5431 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.00322/0.1286, allocations: 1.738 MB / 0.5448 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.1301, allocations: 0.8925 MB / 0.5457 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.416e-05/0.1302, allocations: 0 / 0.5457 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.1305, allocations: 99.61 kB / 0.5458 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.1307, allocations: 75.72 kB / 0.5458 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.131, allocations: 107.6 kB / 0.5459 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.1312, allocations: 115.7 kB / 0.546 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.364e-05/0.1313, allocations: 8.266 kB / 0.5461 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.1314, allocations: 55.77 kB / 0.5461 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.1315, allocations: 79.67 kB / 0.5462 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.1316, allocations: 11.94 kB / 0.5462 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.1317, allocations: 55.98 kB / 0.5462 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.039e-05/0.1317, allocations: 27.89 kB / 0.5463 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.88e-05/0.1318, allocations: 35.69 kB / 0.5463 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.132, allocations: 135.4 kB / 0.5464 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.132, allocations: 0 / 0.5464 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.132, allocations: 0 / 0.5464 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.132, allocations: 0 / 0.5464 GB, free: 0.5664 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006267/0.1327, allocations: 450.4 kB / 0.5469 GB, free: 80 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.1327, allocations: 8.031 kB / 0.5469 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.86e-05/0.1327, allocations: 34.73 kB / 0.5469 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.1328, allocations: 12.89 kB / 0.5469 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.1331, allocations: 216.1 kB / 0.5471 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.1331, allocations: 384 / 0.5471 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.1332, allocations: 7.938 kB / 0.5471 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.1333, allocations: 57.67 kB / 0.5472 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.1333, allocations: 0 / 0.5472 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1334, allocations: 8 kB / 0.5472 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1334, allocations: 0 / 0.5472 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.102e-05/0.1334, allocations: 27.92 kB / 0.5472 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/0.1339, allocations: 304.8 kB / 0.5475 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.1341, allocations: 54.55 kB / 0.5476 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.269e-05/0.1342, allocations: 24.91 kB / 0.5476 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.1342, allocations: 4 kB / 0.5476 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.1344, allocations: 67.39 kB / 0.5477 GB, free: 15.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.1344, allocations: 0 / 0.5477 GB, free: 15.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007642/0.1351, allocations: 253.6 kB / 0.5479 GB, free: 14.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.1352, allocations: 59.34 kB / 0.548 GB, free: 14.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.1354, allocations: 222.7 kB / 0.5482 GB, free: 14.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.1354, allocations: 25.7 kB / 0.5482 GB, free: 14.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.867e-05/0.1355, allocations: 112.1 kB / 0.5483 GB, free: 14.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/0.1355, allocations: 35.77 kB / 0.5483 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.299e-05/0.1356, allocations: 29.7 kB / 0.5484 GB, free: 14.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1357, allocations: 322.8 kB / 0.5487 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.378e-05/0.1358, allocations: 31.98 kB / 0.5487 GB, free: 14.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.601e-05/0.1359, allocations: 53.14 kB / 0.5487 GB, free: 13.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.1361, allocations: 77.7 kB / 0.5488 GB, free: 13.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1361, allocations: 0 / 0.5488 GB, free: 13.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002273/0.1363, allocations: 133.5 kB / 0.549 GB, free: 13.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1363, allocations: 4 kB / 0.549 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1363, allocations: 0 / 0.549 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1363, allocations: 3.938 kB / 0.549 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.448e-05/0.1364, allocations: 31.92 kB / 0.549 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.1364, allocations: 4.031 kB / 0.549 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.292e-05/0.1364, allocations: 0 / 0.549 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.1365, allocations: 4 kB / 0.549 GB, free: 13.69 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 (13): * Single equations (assignments): 13 * 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.0001265/0.1366, allocations: 146.8 kB / 0.5491 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.1366, allocations: 7.953 kB / 0.5491 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.921e-05/0.1367, allocations: 25.39 kB / 0.5492 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1367, allocations: 3.938 kB / 0.5492 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.1367, allocations: 0 / 0.5492 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1367, allocations: 0 / 0.5492 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005545/0.1372, allocations: 452 kB / 0.5496 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1372, allocations: 0 / 0.5496 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.482e-05/0.1373, allocations: 15.98 kB / 0.5496 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1373, allocations: 0 / 0.5496 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.1373, allocations: 8 kB / 0.5496 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1373, allocations: 0 / 0.5496 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1373, allocations: 4 kB / 0.5496 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.1376, allocations: 245.2 kB / 0.5499 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.963e-05/0.1376, allocations: 89.02 kB / 0.5499 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.1377, allocations: 0 / 0.5499 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.711e-05/0.1377, allocations: 11.98 kB / 0.55 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.1378, allocations: 4 kB / 0.55 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.1378, allocations: 8 kB / 0.55 GB, free: 12.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001542/0.138, allocations: 175.2 kB / 0.5501 GB, free: 12.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.138, allocations: 0 / 0.5501 GB, free: 12.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.1382, allocations: 27.94 kB / 0.5502 GB, free: 12.38 MB / 414.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 (11): * Single equations (assignments): 9 * 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.002388/0.1406, allocations: 1.182 MB / 0.5513 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002371/0.1409, allocations: 79.84 kB / 0.5514 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1409, allocations: 0 / 0.5514 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.645e-05/0.1409, allocations: 39.86 kB / 0.5514 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.1413, allocations: 41.12 kB / 0.5515 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.1435, allocations: 1.818 MB / 0.5532 GB, free: 9.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.1438, allocations: 0.7193 MB / 0.554 GB, free: 8.574 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.824e-05/0.1439, allocations: 20.64 kB / 0.554 GB, free: 8.555 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.354e-05/0.144, allocations: 43.42 kB / 0.554 GB, free: 8.512 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.144, allocations: 0 / 0.554 GB, free: 8.512 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02585/0.1698, allocations: 3.887 MB / 0.5578 GB, free: 4.648 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.832/8.001, allocations: 3.75 kB / 0.5578 GB, free: 4.645 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.17359589599073]