Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.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.001356/0.001356, allocations: 111.9 kB / 19.17 MB, free: 3.895 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.001435/0.001435, allocations: 208.9 kB / 22.13 MB, free: 0.9375 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.55/1.55, allocations: 230.2 MB / 255.2 MB, free: 15.39 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.2366/0.2366, 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2") [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.002276/0.002276, allocations: 73.84 kB / 0.4924 GB, free: 26.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1408, allocations: 65.99 MB / 0.5568 GB, free: 8.605 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003176/0.144, allocations: 1.611 MB / 0.5584 GB, free: 6.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.145, allocations: 0.545 MB / 0.5589 GB, free: 6.434 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.118e-05/0.1451, allocations: 0 / 0.5589 GB, free: 6.434 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000216/0.1453, allocations: 23.78 kB / 0.5589 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002921/0.1456, allocations: 79.69 kB / 0.559 GB, free: 6.332 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.1459, allocations: 111 kB / 0.5591 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.1461, allocations: 67.81 kB / 0.5592 GB, free: 6.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1462, allocations: 15.88 kB / 0.5592 GB, free: 6.145 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.058e-05/0.1462, allocations: 27.86 kB / 0.5592 GB, free: 6.117 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.858e-05/0.1463, allocations: 23.86 kB / 0.5593 GB, free: 6.094 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.1463, allocations: 0 / 0.5593 GB, free: 6.094 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.656e-05/0.1464, allocations: 35.97 kB / 0.5593 GB, free: 6.059 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.921e-05/0.1465, allocations: 19.94 kB / 0.5593 GB, free: 6.039 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.703e-05/0.1465, allocations: 15.88 kB / 0.5593 GB, free: 6.023 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.1467, allocations: 87.58 kB / 0.5594 GB, free: 5.938 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1467, allocations: 0 / 0.5594 GB, free: 5.938 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1467, allocations: 0 / 0.5594 GB, free: 5.938 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.1467, allocations: 0 / 0.5594 GB, free: 5.938 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005392/0.1472, allocations: 390.9 kB / 0.5598 GB, free: 5.504 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1473, allocations: 12.03 kB / 0.5598 GB, free: 5.492 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.454e-05/0.1473, allocations: 4.891 kB / 0.5598 GB, free: 5.488 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.1475, allocations: 190.2 kB / 0.56 GB, free: 5.266 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.1475, allocations: 4.375 kB / 0.56 GB, free: 5.262 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.1475, allocations: 384 / 0.56 GB, free: 5.262 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.1477, allocations: 54.17 kB / 0.56 GB, free: 5.203 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1477, allocations: 192 / 0.56 GB, free: 5.203 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1477, allocations: 3.938 kB / 0.56 GB, free: 5.199 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1477, allocations: 4 kB / 0.56 GB, free: 5.195 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.823e-05/0.1478, allocations: 23.97 kB / 0.5601 GB, free: 5.172 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/0.1483, allocations: 284.9 kB / 0.5603 GB, free: 4.844 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.1485, allocations: 46.44 kB / 0.5604 GB, free: 4.789 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.715e-05/0.1485, allocations: 24.88 kB / 0.5604 GB, free: 4.762 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.1486, allocations: 0 / 0.5604 GB, free: 4.762 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.1486, allocations: 30.56 kB / 0.5604 GB, free: 4.723 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 2.685e-06/0.1486, allocations: 4 kB / 0.5604 GB, free: 4.719 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005974/0.1492, allocations: 161.3 kB / 0.5606 GB, free: 4.555 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.1492, allocations: 51.41 kB / 0.5606 GB, free: 4.492 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.1494, allocations: 148.4 kB / 0.5608 GB, free: 4.336 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.1494, allocations: 29.7 kB / 0.5608 GB, free: 4.301 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.854e-05/0.1495, allocations: 96.12 kB / 0.5609 GB, free: 4.203 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.1495, allocations: 23.8 kB / 0.5609 GB, free: 4.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.1495, allocations: 17.72 kB / 0.5609 GB, free: 4.156 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1497, allocations: 322.8 kB / 0.5612 GB, free: 3.832 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.06e-05/0.1498, allocations: 19.98 kB / 0.5613 GB, free: 3.812 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.399e-05/0.1498, allocations: 23.98 kB / 0.5613 GB, free: 3.789 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.15, allocations: 52.81 kB / 0.5613 GB, free: 3.734 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.15, allocations: 4 kB / 0.5613 GB, free: 3.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001929/0.1502, allocations: 89.75 kB / 0.5614 GB, free: 3.637 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.1502, allocations: 4 kB / 0.5614 GB, free: 3.633 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1502, allocations: 3.938 kB / 0.5614 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.1502, allocations: 0 / 0.5614 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.153e-05/0.1503, allocations: 19.98 kB / 0.5615 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.1503, allocations: 0 / 0.5615 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.275e-05/0.1503, allocations: 7.984 kB / 0.5615 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.1503, allocations: 0 / 0.5615 GB, free: 3.602 MB / 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 (5): * Single equations (assignments): 5 * 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.0001001/0.1504, allocations: 121.8 kB / 0.5616 GB, free: 3.473 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.1504, allocations: 7.953 kB / 0.5616 GB, free: 3.465 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002646/0.1507, allocations: 101.9 kB / 0.5617 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1507, allocations: 0 / 0.5617 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1507, allocations: 0 / 0.5617 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1507, allocations: 0 / 0.5617 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000458/0.1512, allocations: 358.5 kB / 0.562 GB, free: 2.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1512, allocations: 3.938 kB / 0.562 GB, free: 2.945 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.782e-05/0.1512, allocations: 11.98 kB / 0.562 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1512, allocations: 0 / 0.562 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.1512, allocations: 0 / 0.562 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1513, allocations: 7.938 kB / 0.562 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1513, allocations: 0 / 0.562 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.1515, allocations: 187.4 kB / 0.5622 GB, free: 2.727 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-05/0.1516, allocations: 85.06 kB / 0.5623 GB, free: 2.625 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.1516, allocations: 256 / 0.5623 GB, free: 2.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.849e-05/0.1516, allocations: 7.984 kB / 0.5623 GB, free: 2.617 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.1517, allocations: 7.938 kB / 0.5623 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.1517, allocations: 4 kB / 0.5623 GB, free: 2.605 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001067/0.1518, allocations: 121.7 kB / 0.5624 GB, free: 2.488 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1518, allocations: 0 / 0.5624 GB, free: 2.488 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002314/0.152, allocations: 19.94 kB / 0.5625 GB, free: 2.469 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.001452/0.1535, allocations: 402.7 kB / 0.5628 GB, free: 2.219 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002169/0.1537, allocations: 51.95 kB / 0.5629 GB, free: 2.168 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1537, allocations: 0 / 0.5629 GB, free: 2.168 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.896e-05/0.1538, allocations: 27.92 kB / 0.5629 GB, free: 2.141 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.1541, allocations: 19.92 kB / 0.5629 GB, free: 2.121 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004633/0.1546, allocations: 215.8 kB / 0.5631 GB, free: 1.875 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.1549, allocations: 0.7039 MB / 0.5638 GB, free: 1.145 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/0.1549, allocations: 11.44 kB / 0.5638 GB, free: 1.133 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1549, allocations: 0 / 0.5638 GB, free: 1.133 MB / 414.1 MB Notification: Performance of Templates: time 0.00353/0.1585, allocations: 1.447 MB / 0.5653 GB, free: 15.68 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.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: 8.023588430834934]