Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.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.004969/0.004969, allocations: 107.9 kB / 21.97 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.001383/0.001383, allocations: 218.2 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.419/1.419, allocations: 230.5 MB / 258.9 MB, free: 8.016 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.2263/0.2263, allocations: 46.93 MB / 362.3 MB, free: 4.227 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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,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.Test24") [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.002333/0.002333, allocations: 75.86 kB / 0.4982 GB, free: 7.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3392, allocations: 66.09 MB / 0.5627 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.003395/0.3426, allocations: 1.62 MB / 0.5643 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002014/0.3446, allocations: 1.259 MB / 0.5656 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.91e-05/0.3446, allocations: 3.938 kB / 0.5656 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002403/0.3449, allocations: 23.84 kB / 0.5656 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003084/0.3452, allocations: 83.61 kB / 0.5657 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.3455, allocations: 83.78 kB / 0.5657 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.3456, allocations: 79.75 kB / 0.5658 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.3458, allocations: 8 kB / 0.5658 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.408e-05/0.3458, allocations: 27.86 kB / 0.5659 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.346, allocations: 39.83 kB / 0.5659 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.346, allocations: 4 kB / 0.5659 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.3462, allocations: 91.88 kB / 0.566 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.616e-05/0.3462, allocations: 19.92 kB / 0.566 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.226e-05/0.3463, allocations: 15.88 kB / 0.566 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.3466, allocations: 145.9 kB / 0.5662 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.3466, allocations: 4 kB / 0.5662 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3466, allocations: 4 kB / 0.5662 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.3466, allocations: 3.984 kB / 0.5662 GB, free: 0.7578 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.0005865/0.3472, allocations: 329.6 kB / 0.5665 GB, free: 412 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.3472, allocations: 8.031 kB / 0.5665 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.675e-05/0.3473, allocations: 8.891 kB / 0.5665 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.3475, allocations: 134.4 kB / 0.5666 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.3475, allocations: 8.375 kB / 0.5666 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.3475, allocations: 384 / 0.5666 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.3477, allocations: 63.97 kB / 0.5667 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3477, allocations: 192 / 0.5667 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.3477, allocations: 3.938 kB / 0.5667 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.3477, allocations: 4 kB / 0.5667 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.501e-05/0.3478, allocations: 27.91 kB / 0.5667 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004364/0.3482, allocations: 248.1 kB / 0.567 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.3485, allocations: 46.5 kB / 0.567 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.304e-05/0.3485, allocations: 16.94 kB / 0.567 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.3485, allocations: 0 / 0.567 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.3486, allocations: 38.41 kB / 0.5671 GB, free: 15.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.3486, allocations: 0 / 0.5671 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005671/0.3492, allocations: 137.5 kB / 0.5672 GB, free: 15.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.711e-05/0.3492, allocations: 81.05 kB / 0.5673 GB, free: 15.47 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.3494, allocations: 145.8 kB / 0.5674 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.3494, allocations: 29.7 kB / 0.5674 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.9e-05/0.3495, allocations: 88.14 kB / 0.5675 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.3495, allocations: 27.72 kB / 0.5676 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.3496, allocations: 21.72 kB / 0.5676 GB, free: 15.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.3497, allocations: 326.8 kB / 0.5679 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.847e-05/0.3498, allocations: 15.98 kB / 0.5679 GB, free: 14.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.869e-05/0.3499, allocations: 37.77 kB / 0.5679 GB, free: 14.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.35, allocations: 44.83 kB / 0.568 GB, free: 14.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.35, allocations: 0 / 0.568 GB, free: 14.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001813/0.3502, allocations: 85.59 kB / 0.5681 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.3502, allocations: 4 kB / 0.5681 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3502, allocations: 0 / 0.5681 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.3502, allocations: 0 / 0.5681 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.892e-05/0.3503, allocations: 19.98 kB / 0.5681 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.3503, allocations: 3.938 kB / 0.5681 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.36e-05/0.3503, allocations: 4 kB / 0.5681 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.3504, allocations: 0 / 0.5681 GB, free: 14.58 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.0001106/0.3505, allocations: 125.8 kB / 0.5682 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.388e-05/0.3505, allocations: 7.953 kB / 0.5682 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003039/0.3508, allocations: 90 kB / 0.5683 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3508, allocations: 0 / 0.5683 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3508, allocations: 0 / 0.5683 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3508, allocations: 0 / 0.5683 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005133/0.3513, allocations: 317.6 kB / 0.5686 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3513, allocations: 4 kB / 0.5686 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.835e-05/0.3514, allocations: 20.3 kB / 0.5686 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3514, allocations: 0 / 0.5686 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.3514, allocations: 0 / 0.5686 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.3514, allocations: 4 kB / 0.5686 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3514, allocations: 7.875 kB / 0.5686 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.3517, allocations: 175.5 kB / 0.5688 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.733e-05/0.3517, allocations: 12.23 kB / 0.5688 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.3518, allocations: 0 / 0.5688 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.312e-05/0.3518, allocations: 7.984 kB / 0.5688 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.3519, allocations: 11.92 kB / 0.5688 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.3519, allocations: 4 kB / 0.5688 GB, free: 13.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001107/0.352, allocations: 117.3 kB / 0.569 GB, free: 13.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.352, allocations: 0 / 0.569 GB, free: 13.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002914/0.3523, allocations: 39.86 kB / 0.569 GB, free: 13.57 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.001745/0.354, allocations: 496.5 kB / 0.5695 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002125/0.3542, allocations: 47.91 kB / 0.5695 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3542, allocations: 0 / 0.5695 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.8e-05/0.3543, allocations: 27.97 kB / 0.5695 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.3547, allocations: 10.5 kB / 0.5695 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004912/0.3552, allocations: 195.2 kB / 0.5697 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.3555, allocations: 0.7001 MB / 0.5704 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.217e-05/0.3556, allocations: 15.42 kB / 0.5704 GB, free: 12.2 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3556, allocations: 4 kB / 0.5704 GB, free: 12.19 MB / 414.1 MB Notification: Performance of Templates: time 0.004112/0.3597, allocations: 1.931 MB / 0.5723 GB, free: 10.26 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.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.851305003045127]