Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.001323/0.001323, 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.001463/0.001463, 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.467/1.467, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.2306/0.2306, allocations: 46.92 MB / 357.1 MB, free: 10.43 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.Test61,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 71.89 kB / 0.491 GB, free: 7.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1291, allocations: 65.98 MB / 0.5554 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.004034/0.1332, allocations: 1.7 MB / 0.5571 GB, free: 4.156 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001876/0.1351, allocations: 1.015 MB / 0.5581 GB, free: 3.137 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.117e-05/0.1351, allocations: 7.938 kB / 0.5581 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003312/0.1355, allocations: 55.69 kB / 0.5582 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003255/0.1358, allocations: 99.59 kB / 0.5582 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.136, allocations: 75.67 kB / 0.5583 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.1362, allocations: 91.75 kB / 0.5584 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.568e-05/0.1363, allocations: 8.219 kB / 0.5584 GB, free: 2.805 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.617e-05/0.1364, allocations: 39.8 kB / 0.5585 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.633e-05/0.1365, allocations: 43.7 kB / 0.5585 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.1365, allocations: 4 kB / 0.5585 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.231e-05/0.1366, allocations: 32 kB / 0.5585 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.738e-05/0.1366, allocations: 23.92 kB / 0.5586 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.967e-05/0.1367, allocations: 39.67 kB / 0.5586 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.1369, allocations: 123.4 kB / 0.5587 GB, free: 2.504 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1369, allocations: 0 / 0.5587 GB, free: 2.504 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1369, allocations: 0 / 0.5587 GB, free: 2.504 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1369, allocations: 0 / 0.5587 GB, free: 2.504 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006777/0.1376, allocations: 450.4 kB / 0.5591 GB, free: 2.016 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.1376, allocations: 8.031 kB / 0.5591 GB, free: 2.008 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.998e-05/0.1377, allocations: 38.73 kB / 0.5592 GB, free: 1.961 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.183e-05/0.1377, allocations: 12.89 kB / 0.5592 GB, free: 1.949 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.1381, allocations: 225 kB / 0.5594 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-06/0.1381, allocations: 384 / 0.5594 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.1381, allocations: 3.938 kB / 0.5594 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.1383, allocations: 49.67 kB / 0.5595 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1383, allocations: 0 / 0.5595 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1383, allocations: 0 / 0.5595 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1383, allocations: 0 / 0.5595 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.645e-05/0.1384, allocations: 19.92 kB / 0.5595 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002387/0.1386, allocations: 193.7 kB / 0.5597 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.1388, allocations: 54.55 kB / 0.5597 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.525e-05/0.1388, allocations: 12.86 kB / 0.5597 GB, free: 1.293 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.1389, allocations: 4 kB / 0.5597 GB, free: 1.289 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/0.1391, allocations: 79.3 kB / 0.5598 GB, free: 1.199 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.1391, allocations: 0 / 0.5598 GB, free: 1.199 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003244/0.1394, allocations: 97.58 kB / 0.5599 GB, free: 1.098 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.1395, allocations: 51.41 kB / 0.56 GB, free: 1.035 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/0.1398, allocations: 270.8 kB / 0.5602 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.1398, allocations: 25.7 kB / 0.5602 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.348e-05/0.1399, allocations: 112.1 kB / 0.5603 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.1399, allocations: 15.91 kB / 0.5604 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.1399, allocations: 29.64 kB / 0.5604 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.1401, allocations: 322.8 kB / 0.5607 GB, free: 244 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.592e-05/0.1402, allocations: 16.23 kB / 0.5607 GB, free: 228 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.498e-05/0.1402, allocations: 37.59 kB / 0.5607 GB, free: 184 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.1403, allocations: 45.7 kB / 0.5608 GB, free: 132 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.1403, allocations: 3.938 kB / 0.5608 GB, free: 128 kB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001778/0.1405, allocations: 89.53 kB / 0.5609 GB, free: 32 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1405, allocations: 4 kB / 0.5609 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1405, allocations: 4 kB / 0.5609 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.1406, allocations: 3.984 kB / 0.5609 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.964e-05/0.1406, allocations: 8 kB / 0.5609 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1406, allocations: 0 / 0.5609 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.051e-05/0.1407, allocations: 11.89 kB / 0.5609 GB, free: 0 / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.1407, allocations: 4.047 kB / 0.5609 GB, free: 15.99 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 (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.0001266/0.1408, allocations: 142.2 kB / 0.561 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.1409, allocations: 15.91 kB / 0.5611 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.435e-05/0.1409, allocations: 24.97 kB / 0.5611 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1409, allocations: 0 / 0.5611 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.1409, allocations: 0 / 0.5611 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1409, allocations: 0 / 0.5611 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.1412, allocations: 201.6 kB / 0.5613 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1412, allocations: 3.938 kB / 0.5613 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.283e-05/0.1412, allocations: 7.984 kB / 0.5613 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1412, allocations: 0 / 0.5613 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1412, allocations: 4 kB / 0.5613 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1412, allocations: 0 / 0.5613 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1412, allocations: 0 / 0.5613 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.1414, allocations: 121 kB / 0.5614 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.153e-05/0.1415, allocations: 89.02 kB / 0.5615 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.1415, allocations: 0 / 0.5615 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.663e-05/0.1416, allocations: 0 / 0.5615 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.1416, allocations: 7.984 kB / 0.5615 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.1416, allocations: 4 kB / 0.5615 GB, free: 15.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001965/0.1418, allocations: 204.6 kB / 0.5617 GB, free: 15.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1418, allocations: 0 / 0.5617 GB, free: 15.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002192/0.142, allocations: 15.98 kB / 0.5617 GB, free: 15.08 MB / 430.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.002021/0.1441, allocations: 0.9685 MB / 0.5627 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001691/0.1442, allocations: 39.92 kB / 0.5627 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1442, allocations: 0 / 0.5627 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.494e-05/0.1443, allocations: 19.98 kB / 0.5627 GB, free: 14.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.1446, allocations: 23.98 kB / 0.5627 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.1468, allocations: 1.678 MB / 0.5644 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.1471, allocations: 0.7197 MB / 0.5651 GB, free: 11.64 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.106e-05/0.1472, allocations: 12.55 kB / 0.5651 GB, free: 11.63 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.03e-05/0.1472, allocations: 43.36 kB / 0.5651 GB, free: 11.59 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1473, allocations: 0 / 0.5651 GB, free: 11.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02607/0.1733, allocations: 3.52 MB / 0.5686 GB, free: 8.133 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.187/8.361, allocations: 7 kB / 0.5686 GB, free: 8.133 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.414830213179812]