Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.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.005242/0.005242, allocations: 109.8 kB / 21.98 MB, free: 5.184 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.001853/0.001853, allocations: 220.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.443/1.443, allocations: 230.5 MB / 258.9 MB, free: 8.02 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.2199/0.2199, allocations: 46.93 MB / 362.3 MB, free: 4.184 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.CombiTable1Ds.Test20,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.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,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.CombiTable1Ds.Test20") [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.002342/0.002342, allocations: 75.88 kB / 0.4982 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.33, allocations: 66.09 MB / 0.5627 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003327/0.3333, allocations: 1.617 MB / 0.5643 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002109/0.3354, allocations: 1.263 MB / 0.5656 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.883e-05/0.3355, allocations: 3.938 kB / 0.5656 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000266/0.3358, allocations: 23.86 kB / 0.5656 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.3361, allocations: 83.61 kB / 0.5657 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.3364, allocations: 91.69 kB / 0.5658 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.3365, allocations: 71.78 kB / 0.5658 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.3366, allocations: 7.984 kB / 0.5658 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.584e-05/0.3367, allocations: 35.84 kB / 0.5659 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.3369, allocations: 23.86 kB / 0.5659 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.3369, allocations: 4 kB / 0.5659 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001943/0.3371, allocations: 99.88 kB / 0.566 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.494e-05/0.3371, allocations: 19.92 kB / 0.566 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.3372, allocations: 23.86 kB / 0.566 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002821/0.3375, allocations: 145.9 kB / 0.5662 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3375, allocations: 0 / 0.5662 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3375, allocations: 0 / 0.5662 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.3375, allocations: 0 / 0.5662 GB, free: 0.7344 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005562/0.338, allocations: 329.7 kB / 0.5665 GB, free: 388 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3381, allocations: 8.031 kB / 0.5665 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.3381, allocations: 12.83 kB / 0.5665 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.3383, allocations: 138.4 kB / 0.5666 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.3383, allocations: 384 / 0.5666 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.3384, allocations: 8.375 kB / 0.5666 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.3385, allocations: 59.95 kB / 0.5667 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3385, allocations: 192 / 0.5667 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.3386, allocations: 7.938 kB / 0.5667 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.3386, allocations: 4 kB / 0.5667 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.103e-05/0.3387, allocations: 19.92 kB / 0.5667 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004136/0.3391, allocations: 248 kB / 0.567 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.3393, allocations: 42.5 kB / 0.567 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.246e-05/0.3393, allocations: 20.94 kB / 0.567 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.3394, allocations: 0 / 0.567 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.3394, allocations: 38.56 kB / 0.5671 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.3394, allocations: 3.938 kB / 0.5671 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006095/0.34, allocations: 137.5 kB / 0.5672 GB, free: 15.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.3401, allocations: 77.11 kB / 0.5673 GB, free: 15.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.3402, allocations: 145.8 kB / 0.5674 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.3403, allocations: 25.7 kB / 0.5674 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.634e-05/0.3403, allocations: 100.1 kB / 0.5675 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.3404, allocations: 19.8 kB / 0.5675 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.616e-05/0.3404, allocations: 17.72 kB / 0.5676 GB, free: 15.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3406, allocations: 322.8 kB / 0.5679 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.858e-05/0.3406, allocations: 23.92 kB / 0.5679 GB, free: 14.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.613e-05/0.3407, allocations: 29.7 kB / 0.5679 GB, free: 14.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.3408, allocations: 52.86 kB / 0.568 GB, free: 14.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3408, allocations: 192 / 0.568 GB, free: 14.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001973/0.341, allocations: 77.62 kB / 0.568 GB, free: 14.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.3411, allocations: 11.94 kB / 0.5681 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3411, allocations: 0 / 0.5681 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.3411, allocations: 0 / 0.5681 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.498e-05/0.3411, allocations: 11.98 kB / 0.5681 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3411, allocations: 7.938 kB / 0.5681 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.632e-05/0.3412, allocations: 11.98 kB / 0.5681 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.3412, allocations: 4 kB / 0.5681 GB, free: 14.55 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 9.915e-05/0.3413, allocations: 117.8 kB / 0.5682 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/0.3413, allocations: 7.953 kB / 0.5682 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002435/0.3416, allocations: 82.06 kB / 0.5683 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.3416, allocations: 7.938 kB / 0.5683 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3416, allocations: 0 / 0.5683 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3416, allocations: 4 kB / 0.5683 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000451/0.342, allocations: 325.5 kB / 0.5686 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.342, allocations: 0 / 0.5686 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.259e-05/0.3421, allocations: 8 kB / 0.5686 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3421, allocations: 4 kB / 0.5686 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.3421, allocations: 7.984 kB / 0.5686 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3421, allocations: 0 / 0.5686 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3421, allocations: 3.938 kB / 0.5686 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.3424, allocations: 180 kB / 0.5688 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.512e-05/0.3424, allocations: 7.953 kB / 0.5688 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.3424, allocations: 11.97 kB / 0.5688 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.304e-05/0.3425, allocations: 4 kB / 0.5688 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.3425, allocations: 7.922 kB / 0.5688 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.3425, allocations: 4 kB / 0.5688 GB, free: 13.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.588e-05/0.3426, allocations: 113.6 kB / 0.569 GB, free: 13.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3426, allocations: 0 / 0.569 GB, free: 13.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002812/0.3429, allocations: 39.86 kB / 0.569 GB, free: 13.54 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.001731/0.3446, allocations: 0.4922 MB / 0.5695 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000211/0.3448, allocations: 47.91 kB / 0.5695 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3448, allocations: 0 / 0.5695 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.401e-05/0.3449, allocations: 23.98 kB / 0.5695 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.3453, allocations: 15.98 kB / 0.5696 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004655/0.3457, allocations: 191.2 kB / 0.5697 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.3461, allocations: 0.6924 MB / 0.5704 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.505e-05/0.3461, allocations: 19.36 kB / 0.5704 GB, free: 12.17 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3461, allocations: 0 / 0.5704 GB, free: 12.17 MB / 414.1 MB Notification: Performance of Templates: time 0.004167/0.3503, allocations: 1.936 MB / 0.5723 GB, free: 10.24 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.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.722866558004171]