Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.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.001678/0.001678, allocations: 112.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.001884/0.001884, 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.542/1.542, allocations: 230.2 MB / 255.1 MB, free: 15.25 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.2399/0.2399, allocations: 46.89 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.CombiTable1Dv.Test32,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.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,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.CombiTable1Dv.Test32") [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.002294/0.002294, allocations: 75.88 kB / 0.4924 GB, free: 8.141 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1387, allocations: 65.99 MB / 0.5568 GB, free: 6.027 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.0034/0.1421, allocations: 1.626 MB / 0.5584 GB, free: 4.387 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.1432, allocations: 0.5527 MB / 0.559 GB, free: 3.832 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.97e-05/0.1433, allocations: 4 kB / 0.559 GB, free: 3.828 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003484/0.1436, allocations: 107.7 kB / 0.5591 GB, free: 3.723 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003448/0.144, allocations: 115.6 kB / 0.5592 GB, free: 3.609 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.1443, allocations: 123.3 kB / 0.5593 GB, free: 3.492 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.1445, allocations: 91.73 kB / 0.5594 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.1446, allocations: 12 kB / 0.5594 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.179e-05/0.1447, allocations: 43.88 kB / 0.5594 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.1448, allocations: 75.73 kB / 0.5595 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.1448, allocations: 0 / 0.5595 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.145, allocations: 51.98 kB / 0.5595 GB, free: 3.223 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.256e-05/0.145, allocations: 27.86 kB / 0.5596 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.462e-05/0.1451, allocations: 39.67 kB / 0.5596 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.1453, allocations: 111.5 kB / 0.5597 GB, free: 3.047 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1453, allocations: 0 / 0.5597 GB, free: 3.047 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.1453, allocations: 4 kB / 0.5597 GB, free: 3.043 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.1453, allocations: 0 / 0.5597 GB, free: 3.043 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.0006183/0.1459, allocations: 434.5 kB / 0.5601 GB, free: 2.566 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.146, allocations: 8.031 kB / 0.5601 GB, free: 2.559 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/0.146, allocations: 12.89 kB / 0.5602 GB, free: 2.547 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.1463, allocations: 212.9 kB / 0.5604 GB, free: 2.297 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.1463, allocations: 8.359 kB / 0.5604 GB, free: 2.289 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.173e-05/0.1463, allocations: 12.31 kB / 0.5604 GB, free: 2.277 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.1465, allocations: 50.23 kB / 0.5604 GB, free: 2.223 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.1465, allocations: 4.141 kB / 0.5604 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1465, allocations: 3.938 kB / 0.5604 GB, free: 2.215 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1465, allocations: 4 kB / 0.5604 GB, free: 2.211 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.1466, allocations: 35.95 kB / 0.5605 GB, free: 2.176 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004869/0.1471, allocations: 304.8 kB / 0.5608 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.1472, allocations: 42.56 kB / 0.5608 GB, free: 1.777 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.784e-05/0.1473, allocations: 20.94 kB / 0.5608 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.1473, allocations: 0 / 0.5608 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.1474, allocations: 38.56 kB / 0.5609 GB, free: 1.707 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.1474, allocations: 0 / 0.5609 GB, free: 1.707 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001034/0.1484, allocations: 249.1 kB / 0.5611 GB, free: 1.457 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.1485, allocations: 55.34 kB / 0.5612 GB, free: 1.391 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/0.1488, allocations: 258.1 kB / 0.5614 GB, free: 1.129 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.1488, allocations: 29.7 kB / 0.5614 GB, free: 1.094 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.838e-05/0.1489, allocations: 108.1 kB / 0.5615 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/0.1489, allocations: 27.75 kB / 0.5616 GB, free: 0.957 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.49e-05/0.149, allocations: 25.7 kB / 0.5616 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.1492, allocations: 330.8 kB / 0.5619 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.966e-05/0.1493, allocations: 27.97 kB / 0.5619 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.407e-05/0.1493, allocations: 31.98 kB / 0.562 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.1495, allocations: 72.81 kB / 0.562 GB, free: 472 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1495, allocations: 0 / 0.562 GB, free: 472 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002495/0.1498, allocations: 113.6 kB / 0.5621 GB, free: 352 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.1498, allocations: 11.94 kB / 0.5621 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1498, allocations: 0 / 0.5621 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1498, allocations: 0 / 0.5621 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.1499, allocations: 19.98 kB / 0.5622 GB, free: 320 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1499, allocations: 4.312 kB / 0.5622 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.267e-05/0.15, allocations: 0 / 0.5622 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.15, allocations: 7.984 kB / 0.5622 GB, free: 308 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.0001396/0.1501, allocations: 133.8 kB / 0.5623 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.956e-05/0.1502, allocations: 15.89 kB / 0.5623 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003615/0.1505, allocations: 139 kB / 0.5624 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1505, allocations: 8 kB / 0.5625 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1505, allocations: 0 / 0.5625 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1505, allocations: 3.938 kB / 0.5625 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006492/0.1512, allocations: 427.2 kB / 0.5629 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1512, allocations: 0 / 0.5629 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.237e-05/0.1513, allocations: 15.98 kB / 0.5629 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.1513, allocations: 4 kB / 0.5629 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.1513, allocations: 19.91 kB / 0.5629 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1513, allocations: 0 / 0.5629 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1513, allocations: 0 / 0.5629 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.1516, allocations: 216.2 kB / 0.5631 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.285e-05/0.1517, allocations: 88.98 kB / 0.5632 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.1517, allocations: 7.938 kB / 0.5632 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.373e-05/0.1518, allocations: 8 kB / 0.5632 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.1518, allocations: 8.406 kB / 0.5632 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.1518, allocations: 4 kB / 0.5632 GB, free: 15.11 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001892/0.152, allocations: 188.4 kB / 0.5634 GB, free: 14.92 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.152, allocations: 0 / 0.5634 GB, free: 14.92 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.1523, allocations: 23.94 kB / 0.5634 GB, free: 14.9 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.001715/0.154, allocations: 448.2 kB / 0.5639 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002788/0.1543, allocations: 71.89 kB / 0.5639 GB, free: 14.56 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1543, allocations: 0 / 0.5639 GB, free: 14.56 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.1544, allocations: 43.97 kB / 0.564 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.1548, allocations: 30.48 kB / 0.564 GB, free: 14.49 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006948/0.1555, allocations: 329.1 kB / 0.5643 GB, free: 14.13 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.1559, allocations: 0.7235 MB / 0.565 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.985e-05/0.1559, allocations: 19.42 kB / 0.565 GB, free: 13.36 MB / 430.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1559, allocations: 4 kB / 0.565 GB, free: 13.36 MB / 430.1 MB Notification: Performance of Templates: time 0.004346/0.1603, allocations: 1.898 MB / 0.5669 GB, free: 11.46 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.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.970244158059359]