Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001627/0.001627, allocations: 114.9 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001841/0.001841, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 230.2 MB / 255.1 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2304/0.2304, allocations: 46.88 MB / 358.1 MB, free: 10.52 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 75.88 kB / 0.4924 GB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1363, allocations: 65.99 MB / 0.5568 GB, free: 5.906 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003173/0.1395, allocations: 1.612 MB / 0.5584 GB, free: 4.277 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.1405, allocations: 0.5488 MB / 0.5589 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.839e-05/0.1406, allocations: 0 / 0.5589 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002935/0.1408, allocations: 91.73 kB / 0.559 GB, free: 3.637 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003172/0.1412, allocations: 115.6 kB / 0.5591 GB, free: 3.523 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.1414, allocations: 99.62 kB / 0.5592 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.1416, allocations: 75.83 kB / 0.5593 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1417, allocations: 15.98 kB / 0.5593 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.784e-05/0.1418, allocations: 39.89 kB / 0.5594 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.1419, allocations: 67.67 kB / 0.5594 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.1419, allocations: 4 kB / 0.5594 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.917e-05/0.142, allocations: 43.98 kB / 0.5595 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.707e-05/0.1421, allocations: 19.94 kB / 0.5595 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.755e-05/0.1421, allocations: 35.72 kB / 0.5595 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.1423, allocations: 107.5 kB / 0.5596 GB, free: 3.023 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1423, allocations: 4 kB / 0.5596 GB, free: 3.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1423, allocations: 0 / 0.5596 GB, free: 3.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1423, allocations: 0 / 0.5596 GB, free: 3.02 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005735/0.1429, allocations: 430.6 kB / 0.56 GB, free: 2.547 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.1429, allocations: 8.031 kB / 0.56 GB, free: 2.539 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/0.143, allocations: 16.84 kB / 0.5601 GB, free: 2.523 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.1432, allocations: 196.2 kB / 0.5603 GB, free: 2.293 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.733e-06/0.1432, allocations: 4.312 kB / 0.5603 GB, free: 2.289 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.1432, allocations: 12.33 kB / 0.5603 GB, free: 2.277 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.1434, allocations: 54.23 kB / 0.5603 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.1434, allocations: 192 / 0.5603 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1434, allocations: 7.875 kB / 0.5603 GB, free: 2.211 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1434, allocations: 3.984 kB / 0.5603 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.1435, allocations: 43.88 kB / 0.5604 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.1439, allocations: 292.8 kB / 0.5607 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.144, allocations: 46.56 kB / 0.5607 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.337e-05/0.1441, allocations: 16.94 kB / 0.5607 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.1441, allocations: 0 / 0.5607 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.1441, allocations: 34.5 kB / 0.5607 GB, free: 1.711 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1441, allocations: 0 / 0.5607 GB, free: 1.711 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009409/0.1451, allocations: 229.2 kB / 0.561 GB, free: 1.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.1451, allocations: 55.41 kB / 0.561 GB, free: 1.414 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.1454, allocations: 231.2 kB / 0.5612 GB, free: 1.176 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.1454, allocations: 25.7 kB / 0.5613 GB, free: 1.145 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.073e-05/0.1455, allocations: 104.1 kB / 0.5614 GB, free: 1.039 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.1455, allocations: 35.8 kB / 0.5614 GB, free: 1.004 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.1456, allocations: 25.72 kB / 0.5614 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1457, allocations: 326.8 kB / 0.5617 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.05e-05/0.1458, allocations: 23.98 kB / 0.5618 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.117e-05/0.1459, allocations: 27.97 kB / 0.5618 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.146, allocations: 56.83 kB / 0.5618 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.146, allocations: 0 / 0.5618 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002405/0.1463, allocations: 109.5 kB / 0.5619 GB, free: 432 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1463, allocations: 4 kB / 0.5619 GB, free: 428 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1463, allocations: 4 kB / 0.5619 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1463, allocations: 0 / 0.5619 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.1464, allocations: 15.98 kB / 0.562 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1464, allocations: 0 / 0.562 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.48e-05/0.1464, allocations: 7.984 kB / 0.562 GB, free: 400 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.1465, allocations: 4 kB / 0.562 GB, free: 396 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001145/0.1466, allocations: 134.8 kB / 0.5621 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.909e-05/0.1466, allocations: 15.88 kB / 0.5621 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.1469, allocations: 131.2 kB / 0.5622 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.1469, allocations: 3.984 kB / 0.5622 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.1469, allocations: 0 / 0.5622 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1469, allocations: 0 / 0.5622 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005744/0.1475, allocations: 403.3 kB / 0.5626 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1475, allocations: 4 kB / 0.5626 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.663e-05/0.1476, allocations: 15.98 kB / 0.5627 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.1476, allocations: 3.938 kB / 0.5627 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.1476, allocations: 11.94 kB / 0.5627 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.1476, allocations: 3.938 kB / 0.5627 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1476, allocations: 0 / 0.5627 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.1479, allocations: 212.3 kB / 0.5629 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.073e-05/0.1479, allocations: 85.06 kB / 0.563 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.1479, allocations: 3.938 kB / 0.563 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.639e-05/0.148, allocations: 12.41 kB / 0.563 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.1481, allocations: 4 kB / 0.563 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.832e-06/0.1481, allocations: 4 kB / 0.563 GB, free: 15.24 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001593/0.1482, allocations: 179.2 kB / 0.5631 GB, free: 15.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1482, allocations: 0 / 0.5631 GB, free: 15.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.1485, allocations: 27.89 kB / 0.5632 GB, free: 15.04 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001714/0.1502, allocations: 466.5 kB / 0.5636 GB, free: 14.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002425/0.1504, allocations: 55.95 kB / 0.5637 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1504, allocations: 0 / 0.5637 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.606e-05/0.1505, allocations: 35.92 kB / 0.5637 GB, free: 14.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.1509, allocations: 30.61 kB / 0.5637 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000606/0.1515, allocations: 304.6 kB / 0.564 GB, free: 14.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.1519, allocations: 0.7119 MB / 0.5647 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.795e-05/0.152, allocations: 11.44 kB / 0.5647 GB, free: 13.56 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.152, allocations: 0 / 0.5647 GB, free: 13.56 MB / 430.1 MB Notification: Performance of Templates: time 0.004501/0.1565, allocations: 1.798 MB / 0.5665 GB, free: 11.75 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.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: 7.958311312133446]