Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.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.007633/0.007633, allocations: 107 kB / 21.98 MB, free: 5.215 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.001895/0.001895, allocations: 216.6 kB / 25.29 MB, free: 3.203 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.482/1.482, allocations: 230.5 MB / 258.9 MB, free: 8.008 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.2493/0.2493, allocations: 46.93 MB / 362.3 MB, free: 4.289 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.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31") [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.002552/0.002552, allocations: 87.81 kB / 0.4982 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3503, allocations: 66.06 MB / 0.5627 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003478/0.3537, allocations: 1.68 MB / 0.5644 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.3558, allocations: 1.294 MB / 0.5657 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.57e-05/0.3559, allocations: 3.938 kB / 0.5657 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000235/0.3561, allocations: 35.83 kB / 0.5657 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003187/0.3564, allocations: 83.62 kB / 0.5658 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004436/0.3569, allocations: 174.4 kB / 0.5659 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.357, allocations: 79.77 kB / 0.566 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.3572, allocations: 19.98 kB / 0.566 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.903e-05/0.3572, allocations: 39.78 kB / 0.5661 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.3574, allocations: 38.66 kB / 0.5661 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.3574, allocations: 4 kB / 0.5661 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001947/0.3576, allocations: 95.94 kB / 0.5662 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.928e-05/0.3577, allocations: 27.84 kB / 0.5662 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.162e-05/0.3577, allocations: 23.81 kB / 0.5662 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.358, allocations: 161.8 kB / 0.5664 GB, free: 492 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.358, allocations: 0 / 0.5664 GB, free: 492 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.358, allocations: 0 / 0.5664 GB, free: 492 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.358, allocations: 4 kB / 0.5664 GB, free: 488 kB / 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.0005702/0.3586, allocations: 337.7 kB / 0.5667 GB, free: 116 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3586, allocations: 8.031 kB / 0.5667 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.3587, allocations: 8.891 kB / 0.5667 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.3589, allocations: 140.8 kB / 0.5669 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.3589, allocations: 4.375 kB / 0.5669 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.359, allocations: 4.375 kB / 0.5669 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.3592, allocations: 79.94 kB / 0.567 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3592, allocations: 192 / 0.567 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.3592, allocations: 3.938 kB / 0.567 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3592, allocations: 3.938 kB / 0.567 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.3593, allocations: 47.89 kB / 0.567 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004728/0.3598, allocations: 275.8 kB / 0.5673 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.36, allocations: 46.55 kB / 0.5673 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.575e-05/0.36, allocations: 28.94 kB / 0.5674 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.36, allocations: 0 / 0.5674 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.3601, allocations: 34.56 kB / 0.5674 GB, free: 15.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.3601, allocations: 3.938 kB / 0.5674 GB, free: 15.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008146/0.3609, allocations: 233.4 kB / 0.5676 GB, free: 15.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/0.361, allocations: 81.05 kB / 0.5677 GB, free: 15.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.3611, allocations: 149.6 kB / 0.5678 GB, free: 14.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.3612, allocations: 29.7 kB / 0.5679 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.445e-05/0.3612, allocations: 104.1 kB / 0.568 GB, free: 14.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.3613, allocations: 15.8 kB / 0.568 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.881e-05/0.3613, allocations: 25.7 kB / 0.568 GB, free: 14.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3614, allocations: 318.8 kB / 0.5683 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.3616, allocations: 47.89 kB / 0.5683 GB, free: 14.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.3617, allocations: 53.69 kB / 0.5684 GB, free: 14.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002183/0.3619, allocations: 84.8 kB / 0.5685 GB, free: 14.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3619, allocations: 4 kB / 0.5685 GB, free: 14.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002764/0.3622, allocations: 121.5 kB / 0.5686 GB, free: 14.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.3622, allocations: 8 kB / 0.5686 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3622, allocations: 4.031 kB / 0.5686 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.3622, allocations: 0 / 0.5686 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.3623, allocations: 19.98 kB / 0.5686 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.3624, allocations: 320 / 0.5686 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.781e-05/0.3624, allocations: 7.984 kB / 0.5686 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.3624, allocations: 8 kB / 0.5686 GB, free: 13.98 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 (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.0001088/0.3625, allocations: 121.8 kB / 0.5688 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.3626, allocations: 7.953 kB / 0.5688 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003667/0.3629, allocations: 150.2 kB / 0.5689 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3629, allocations: 4 kB / 0.5689 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.3629, allocations: 0 / 0.5689 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3629, allocations: 0 / 0.5689 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005806/0.3635, allocations: 393.7 kB / 0.5693 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.3635, allocations: 0 / 0.5693 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.166e-05/0.3636, allocations: 23.92 kB / 0.5693 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3636, allocations: 3.984 kB / 0.5693 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.3636, allocations: 4 kB / 0.5693 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.3636, allocations: 3.938 kB / 0.5693 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.3636, allocations: 3.984 kB / 0.5693 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003407/0.364, allocations: 219.4 kB / 0.5695 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.745e-05/0.364, allocations: 7.953 kB / 0.5695 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.364, allocations: 0 / 0.5695 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.48e-05/0.3641, allocations: 15.92 kB / 0.5696 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.3642, allocations: 7.984 kB / 0.5696 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.3642, allocations: 4 kB / 0.5696 GB, free: 12.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.3643, allocations: 117.8 kB / 0.5697 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3643, allocations: 0 / 0.5697 GB, free: 12.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000299/0.3646, allocations: 43.86 kB / 0.5697 GB, free: 12.78 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 (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 Backend phase and start with SimCode phase: time 0.001787/0.3664, allocations: 0.492 MB / 0.5702 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003206/0.3667, allocations: 87.92 kB / 0.5703 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3667, allocations: 0 / 0.5703 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.3668, allocations: 51.91 kB / 0.5703 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.3672, allocations: 23.3 kB / 0.5704 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005639/0.3677, allocations: 235.6 kB / 0.5706 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.3681, allocations: 0.6963 MB / 0.5713 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.447e-05/0.3681, allocations: 27.42 kB / 0.5713 GB, free: 11.28 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3681, allocations: 0 / 0.5713 GB, free: 11.28 MB / 414.1 MB Notification: Performance of Templates: time 0.004708/0.3729, allocations: 2.169 MB / 0.5734 GB, free: 9.109 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.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.912633253959939]