Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.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.001417/0.001417, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 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.00168/0.00168, allocations: 211.5 kB / 25.13 MB, free: 3.605 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.468/1.468, allocations: 230.4 MB / 258.7 MB, free: 8.062 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.2329/0.2329, allocations: 46.93 MB / 362 MB, free: 4.246 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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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.Test30") [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.002349/0.002349, allocations: 95.83 kB / 0.4978 GB, free: 7.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3463, allocations: 66.08 MB / 0.5624 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003029/0.3494, allocations: 1.617 MB / 0.5639 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.3505, allocations: 0.5693 MB / 0.5645 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.814e-05/0.3505, allocations: 4 kB / 0.5645 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002838/0.3508, allocations: 71.77 kB / 0.5646 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.3511, allocations: 107.6 kB / 0.5647 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.3515, allocations: 115.7 kB / 0.5648 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.3516, allocations: 83.75 kB / 0.5649 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.3518, allocations: 18.8 kB / 0.5649 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.601e-05/0.3518, allocations: 31.92 kB / 0.5649 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.3519, allocations: 63.8 kB / 0.565 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.352, allocations: 7.938 kB / 0.565 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.3521, allocations: 51.91 kB / 0.565 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.151e-05/0.3521, allocations: 23.92 kB / 0.565 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.137e-05/0.3522, allocations: 31.69 kB / 0.5651 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.3524, allocations: 107.3 kB / 0.5652 GB, free: 1.379 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.3524, allocations: 0 / 0.5652 GB, free: 1.379 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3524, allocations: 0 / 0.5652 GB, free: 1.379 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.3524, allocations: 0 / 0.5652 GB, free: 1.379 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004986/0.3529, allocations: 345.6 kB / 0.5655 GB, free: 1.008 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.3529, allocations: 8.031 kB / 0.5655 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.353, allocations: 12.84 kB / 0.5655 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.3532, allocations: 151 kB / 0.5657 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.3532, allocations: 8.312 kB / 0.5657 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.3532, allocations: 384 / 0.5657 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.3534, allocations: 58.23 kB / 0.5657 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.3534, allocations: 192 / 0.5657 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3534, allocations: 3.938 kB / 0.5657 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.3534, allocations: 0 / 0.5657 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.3535, allocations: 35.97 kB / 0.5658 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004355/0.3539, allocations: 267.8 kB / 0.566 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.3541, allocations: 50.5 kB / 0.5661 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.457e-05/0.3541, allocations: 16.94 kB / 0.5661 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.3541, allocations: 4.062 kB / 0.5661 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.3542, allocations: 38.56 kB / 0.5661 GB, free: 276 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.3542, allocations: 0 / 0.5661 GB, free: 276 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008924/0.3551, allocations: 233.2 kB / 0.5664 GB, free: 36 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.3551, allocations: 59.41 kB / 0.5664 GB, free: 15.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.3554, allocations: 222.2 kB / 0.5666 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.3554, allocations: 25.7 kB / 0.5667 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.2e-05/0.3555, allocations: 112 kB / 0.5668 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.3555, allocations: 23.75 kB / 0.5668 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.3555, allocations: 29.7 kB / 0.5668 GB, free: 15.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3557, allocations: 326.8 kB / 0.5671 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.604e-05/0.3558, allocations: 31.98 kB / 0.5672 GB, free: 15.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.72e-05/0.3559, allocations: 27.97 kB / 0.5672 GB, free: 15.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.356, allocations: 72.83 kB / 0.5672 GB, free: 15.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.356, allocations: 0 / 0.5672 GB, free: 15.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000236/0.3563, allocations: 117.6 kB / 0.5674 GB, free: 14.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3563, allocations: 11.94 kB / 0.5674 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3563, allocations: 0 / 0.5674 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3563, allocations: 4 kB / 0.5674 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.91e-05/0.3564, allocations: 19.92 kB / 0.5674 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.3564, allocations: 4 kB / 0.5674 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.971e-05/0.3564, allocations: 3.938 kB / 0.5674 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.3565, allocations: 4 kB / 0.5674 GB, free: 14.91 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 (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.0001118/0.3566, allocations: 133.8 kB / 0.5675 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.3566, allocations: 11.91 kB / 0.5675 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003234/0.3569, allocations: 135 kB / 0.5677 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3569, allocations: 0 / 0.5677 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3569, allocations: 0 / 0.5677 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3569, allocations: 432 / 0.5677 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006864/0.3576, allocations: 402.6 kB / 0.5681 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3576, allocations: 0 / 0.5681 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.654e-05/0.3577, allocations: 19.98 kB / 0.5681 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.3577, allocations: 4.031 kB / 0.5681 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.3577, allocations: 3.938 kB / 0.5681 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.3577, allocations: 4 kB / 0.5681 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3577, allocations: 3.984 kB / 0.5681 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.358, allocations: 208.3 kB / 0.5683 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.966e-05/0.358, allocations: 15.91 kB / 0.5683 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.3581, allocations: 11.92 kB / 0.5683 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.048e-05/0.3581, allocations: 4 kB / 0.5683 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.3582, allocations: 7.984 kB / 0.5683 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.3582, allocations: 0 / 0.5683 GB, free: 13.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001694/0.3584, allocations: 168.2 kB / 0.5685 GB, free: 13.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3584, allocations: 0 / 0.5685 GB, free: 13.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.3586, allocations: 20 kB / 0.5685 GB, free: 13.68 MB / 414.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.00168/0.3603, allocations: 462 kB / 0.569 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002635/0.3605, allocations: 79.86 kB / 0.569 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3606, allocations: 4 kB / 0.569 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.521e-05/0.3606, allocations: 35.92 kB / 0.5691 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.361, allocations: 23.61 kB / 0.5691 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006172/0.3616, allocations: 262.7 kB / 0.5693 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.3621, allocations: 0.7158 MB / 0.57 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.503e-05/0.3621, allocations: 20.95 kB / 0.5701 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.3622, allocations: 11.44 kB / 0.5701 GB, free: 12.19 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3622, allocations: 0 / 0.5701 GB, free: 12.19 MB / 414.1 MB Notification: Performance of Templates: time 0.00491/0.3671, allocations: 1.434 MB / 0.5715 GB, free: 10.76 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.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: 4.954248799011111]