Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001448/0.001448, allocations: 113.1 kB / 21.85 MB, free: 68 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.001471/0.001471, allocations: 208.3 kB / 25.13 MB, free: 3.586 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.405/1.405, allocations: 230.4 MB / 258.7 MB, free: 8.066 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.2391/0.2391, allocations: 46.94 MB / 362.1 MB, free: 4.215 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3") [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.002368/0.002368, allocations: 79.86 kB / 0.4978 GB, free: 7.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3314, allocations: 66.08 MB / 0.5624 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003091/0.3345, allocations: 1.688 MB / 0.564 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.3356, allocations: 0.6161 MB / 0.5646 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.687e-05/0.3357, allocations: 0 / 0.5646 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006035/0.3363, allocations: 455.1 kB / 0.565 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004893/0.3368, allocations: 299.3 kB / 0.5653 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004242/0.3372, allocations: 175.1 kB / 0.5655 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002803/0.3375, allocations: 187.5 kB / 0.5657 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.3376, allocations: 23.03 kB / 0.5657 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.3377, allocations: 115.7 kB / 0.5658 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002794/0.338, allocations: 247.5 kB / 0.566 GB, free: 472 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.338, allocations: 12 kB / 0.566 GB, free: 460 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.3381, allocations: 55.86 kB / 0.5661 GB, free: 404 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.3383, allocations: 91.61 kB / 0.5662 GB, free: 312 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.3384, allocations: 103 kB / 0.5663 GB, free: 208 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003813/0.3388, allocations: 290.3 kB / 0.5666 GB, free: 15.92 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3388, allocations: 0 / 0.5666 GB, free: 15.92 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3388, allocations: 0 / 0.5666 GB, free: 15.92 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.3388, allocations: 0 / 0.5666 GB, free: 15.92 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007743/0.3396, allocations: 0.6009 MB / 0.5672 GB, free: 15.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.3396, allocations: 12.03 kB / 0.5672 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.45e-05/0.3396, allocations: 44.66 kB / 0.5672 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.34, allocations: 246.8 kB / 0.5674 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.34, allocations: 4.375 kB / 0.5674 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.34, allocations: 4.375 kB / 0.5674 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.3402, allocations: 62.23 kB / 0.5675 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3402, allocations: 192 / 0.5675 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.3402, allocations: 15.81 kB / 0.5675 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3402, allocations: 0 / 0.5675 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.3403, allocations: 47.95 kB / 0.5676 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005558/0.3409, allocations: 391.7 kB / 0.5679 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.3411, allocations: 58.58 kB / 0.568 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.22e-05/0.3412, allocations: 28.97 kB / 0.568 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.3412, allocations: 0 / 0.568 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.3413, allocations: 34.55 kB / 0.5681 GB, free: 14.26 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.3413, allocations: 0 / 0.5681 GB, free: 14.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001493/0.3428, allocations: 0.4886 MB / 0.5685 GB, free: 13.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.3428, allocations: 59.34 kB / 0.5686 GB, free: 13.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000909/0.3437, allocations: 0.8691 MB / 0.5694 GB, free: 12.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.3437, allocations: 29.7 kB / 0.5695 GB, free: 12.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.3439, allocations: 216.1 kB / 0.5697 GB, free: 12.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.909e-05/0.344, allocations: 31.7 kB / 0.5697 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.066e-05/0.344, allocations: 25.7 kB / 0.5697 GB, free: 12.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.3442, allocations: 362.8 kB / 0.5701 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.3443, allocations: 55.97 kB / 0.5701 GB, free: 12.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.3445, allocations: 60.45 kB / 0.5702 GB, free: 12.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.3448, allocations: 120.8 kB / 0.5703 GB, free: 11.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3448, allocations: 0 / 0.5703 GB, free: 11.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003747/0.3451, allocations: 209.2 kB / 0.5705 GB, free: 11.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.3451, allocations: 4 kB / 0.5705 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.3451, allocations: 3.938 kB / 0.5705 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.3452, allocations: 8 kB / 0.5705 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.3453, allocations: 31.92 kB / 0.5705 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.3453, allocations: 0 / 0.5705 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.55e-05/0.3454, allocations: 11.92 kB / 0.5706 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.3454, allocations: 4 kB / 0.5706 GB, free: 11.63 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 (11): * Single equations (assignments): 11 * 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.0002231/0.3456, allocations: 225.8 kB / 0.5708 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.412e-05/0.3457, allocations: 43.72 kB / 0.5708 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004707/0.3461, allocations: 233.7 kB / 0.571 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3461, allocations: 0 / 0.571 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3461, allocations: 0 / 0.571 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.3461, allocations: 3.938 kB / 0.571 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008438/0.347, allocations: 0.5732 MB / 0.5716 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.347, allocations: 4 kB / 0.5716 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.3471, allocations: 27.92 kB / 0.5716 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3471, allocations: 0 / 0.5716 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.3471, allocations: 8.062 kB / 0.5716 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.3471, allocations: 3.938 kB / 0.5716 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3471, allocations: 0 / 0.5716 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004282/0.3475, allocations: 312.8 kB / 0.5719 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.929e-05/0.3476, allocations: 43.64 kB / 0.572 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.3476, allocations: 4 kB / 0.572 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.3477, allocations: 4 kB / 0.572 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.783e-05/0.3478, allocations: 15.97 kB / 0.572 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.3478, allocations: 4 kB / 0.572 GB, free: 10.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006833/0.3485, allocations: 0.6511 MB / 0.5727 GB, free: 9.391 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3485, allocations: 0 / 0.5727 GB, free: 9.391 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.3488, allocations: 28 kB / 0.5727 GB, free: 9.363 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001677/0.3504, allocations: 470.4 kB / 0.5731 GB, free: 9.062 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003529/0.3508, allocations: 119.9 kB / 0.5732 GB, free: 8.945 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3508, allocations: 3.938 kB / 0.5732 GB, free: 8.941 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.351, allocations: 67.89 kB / 0.5733 GB, free: 8.875 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.3514, allocations: 34.23 kB / 0.5733 GB, free: 8.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.3527, allocations: 0.8827 MB / 0.5742 GB, free: 7.926 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000507/0.3532, allocations: 0.8454 MB / 0.575 GB, free: 7.051 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.3533, allocations: 28.47 kB / 0.5751 GB, free: 7.023 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.802e-05/0.3533, allocations: 15.44 kB / 0.5751 GB, free: 7.012 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3533, allocations: 0 / 0.5751 GB, free: 7.012 MB / 414.1 MB Notification: Performance of Templates: time 0.006357/0.3597, allocations: 2.009 MB / 0.577 GB, free: 5.008 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.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.998333450872451]