Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 85.33 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 168 kB / 23.96 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.37/1.37, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2112/0.2112, allocations: 32.82 MB / 293.5 MB, free: 44 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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.0.0_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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 440.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.256e-05, allocations: 2.281 kB / 440.1 MB, free: 8.152 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.002888/0.002911, allocations: 1.591 MB / 441.7 MB, free: 6.555 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.004858, allocations: 1.239 MB / 442.9 MB, free: 5.309 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.319e-05/0.004921, allocations: 0 / 442.9 MB, free: 5.309 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002243/0.005146, allocations: 35.7 kB / 443 MB, free: 5.273 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003446/0.00549, allocations: 83.56 kB / 443 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.005773, allocations: 85.95 kB / 443.1 MB, free: 5.109 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.005928, allocations: 75.69 kB / 443.2 MB, free: 5.035 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.269e-05/0.006011, allocations: 8 kB / 443.2 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.071e-05/0.006082, allocations: 35.91 kB / 443.3 MB, free: 4.992 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.006188, allocations: 23.91 kB / 443.3 MB, free: 4.969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.006209, allocations: 8 kB / 443.3 MB, free: 4.961 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.006384, allocations: 95.81 kB / 443.4 MB, free: 4.867 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.781e-05/0.006432, allocations: 11.92 kB / 443.4 MB, free: 4.855 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.886e-05/0.006471, allocations: 23.86 kB / 443.4 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.006731, allocations: 143.5 kB / 443.6 MB, free: 4.691 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.006734, allocations: 0 / 443.6 MB, free: 4.691 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.72e-07/0.006734, allocations: 0 / 443.6 MB, free: 4.691 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.257e-06/0.006738, allocations: 0 / 443.6 MB, free: 4.691 MB / 366.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.0004694/0.007207, allocations: 325.7 kB / 443.9 MB, free: 4.344 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.007238, allocations: 8.031 kB / 443.9 MB, free: 4.336 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.00728, allocations: 8.891 kB / 443.9 MB, free: 4.328 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.007473, allocations: 141.7 kB / 444 MB, free: 4.164 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.007481, allocations: 384 / 444 MB, free: 4.164 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.007498, allocations: 384 / 444 MB, free: 4.164 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.007674, allocations: 97.59 kB / 444.1 MB, free: 4.051 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.007685, allocations: 4.141 kB / 444.1 MB, free: 4.047 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.007697, allocations: 4.125 kB / 444.1 MB, free: 4.043 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.0077, allocations: 0 / 444.1 MB, free: 4.043 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.198e-05/0.007792, allocations: 19.98 kB / 444.1 MB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.008104, allocations: 216.6 kB / 444.4 MB, free: 3.781 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.008307, allocations: 46.5 kB / 444.4 MB, free: 3.727 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.424e-05/0.008371, allocations: 16.94 kB / 444.4 MB, free: 3.707 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.008392, allocations: 3.938 kB / 444.4 MB, free: 3.703 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.008419, allocations: 34.56 kB / 444.5 MB, free: 3.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.00842, allocations: 0 / 444.5 MB, free: 3.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005574/0.008977, allocations: 141.4 kB / 444.6 MB, free: 3.516 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/0.009041, allocations: 85.11 kB / 444.7 MB, free: 3.414 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.009204, allocations: 141.8 kB / 444.8 MB, free: 3.266 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.009223, allocations: 25.7 kB / 444.8 MB, free: 3.234 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.278e-05/0.009296, allocations: 100.1 kB / 444.9 MB, free: 3.133 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.009316, allocations: 11.86 kB / 445 MB, free: 3.121 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.009355, allocations: 17.72 kB / 445 MB, free: 3.098 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.009506, allocations: 322.8 kB / 445.3 MB, free: 2.773 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.63e-05/0.009583, allocations: 19.98 kB / 445.3 MB, free: 2.754 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.396e-05/0.009677, allocations: 55.41 kB / 445.4 MB, free: 2.688 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.009823, allocations: 52.8 kB / 445.4 MB, free: 2.633 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.009826, allocations: 3.938 kB / 445.4 MB, free: 2.629 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002017/0.01003, allocations: 81.88 kB / 445.5 MB, free: 2.543 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.01004, allocations: 7.938 kB / 445.5 MB, free: 2.535 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.01005, allocations: 4 kB / 445.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.01006, allocations: 0 / 445.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.057e-05/0.01013, allocations: 15.98 kB / 445.5 MB, free: 2.516 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.01013, allocations: 0 / 445.5 MB, free: 2.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.899e-05/0.01018, allocations: 11.98 kB / 445.5 MB, free: 2.504 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.01019, allocations: 0 / 445.5 MB, free: 2.504 MB / 366.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.438e-05/0.01028, allocations: 122.4 kB / 445.7 MB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.01032, allocations: 7.953 kB / 445.7 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002608/0.01058, allocations: 98.05 kB / 445.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.01058, allocations: 0 / 445.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.01058, allocations: 0 / 445.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.01059, allocations: 0 / 445.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004299/0.01102, allocations: 302.1 kB / 446.1 MB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.01102, allocations: 0 / 446.1 MB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.899e-05/0.01108, allocations: 12.27 kB / 446.1 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.01108, allocations: 4 kB / 446.1 MB, free: 1.914 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.01109, allocations: 0 / 446.1 MB, free: 1.914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01109, allocations: 0 / 446.1 MB, free: 1.914 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01109, allocations: 0 / 446.1 MB, free: 1.914 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.01135, allocations: 179.4 kB / 446.2 MB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.804e-05/0.01137, allocations: 11.94 kB / 446.3 MB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.01139, allocations: 8 kB / 446.3 MB, free: 1.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.773e-05/0.01146, allocations: 4.188 kB / 446.3 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.099e-05/0.0115, allocations: 7.984 kB / 446.3 MB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.0115, allocations: 4 kB / 446.3 MB, free: 1.688 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001081/0.01161, allocations: 114.2 kB / 446.4 MB, free: 1.578 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01161, allocations: 3.938 kB / 446.4 MB, free: 1.574 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002824/0.01189, allocations: 39.86 kB / 446.4 MB, free: 1.535 MB / 366.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.001843/0.01374, allocations: 0.5168 MB / 446.9 MB, free: 1.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002075/0.01394, allocations: 47.91 kB / 447 MB, free: 1.184 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01394, allocations: 0 / 447 MB, free: 1.184 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.761e-05/0.01403, allocations: 27.92 kB / 447 MB, free: 1.156 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.01433, allocations: 22.92 kB / 447 MB, free: 1.137 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004261/0.01476, allocations: 168.7 kB / 447.2 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.719e-05/0.01484, allocations: 79.33 kB / 447.3 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.477e-05/0.0149, allocations: 15.98 kB / 447.3 MB, free: 0.832 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.387e-05/0.01494, allocations: 16.48 kB / 447.3 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.01494, allocations: 0 / 447.3 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of Templates: time 0.1643/0.1792, allocations: 1.802 MB / 449.1 MB, free: 21.41 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 4.58046705648303]