Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.001928/0.001928, allocations: 84.66 kB / 20.68 MB, free: 1.039 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.001444/0.001444, allocations: 164.5 kB / 23.95 MB, free: 4.168 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.412/1.412, allocations: 177.2 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.202/0.202, allocations: 32.81 MB / 293.5 MB, free: 40 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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,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.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 440.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.865e-05, allocations: 2.281 kB / 440.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.00405/0.004079, allocations: 1.599 MB / 441.7 MB, free: 6.547 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002522/0.006601, allocations: 1.239 MB / 442.9 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.683e-05/0.006668, allocations: 0 / 442.9 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.006906, allocations: 27.72 kB / 443 MB, free: 5.273 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004196/0.007326, allocations: 87.55 kB / 443.1 MB, free: 5.188 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003675/0.007693, allocations: 95.64 kB / 443.1 MB, free: 5.094 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.007879, allocations: 67.77 kB / 443.2 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.596e-05/0.007975, allocations: 7.984 kB / 443.2 MB, free: 5.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.001e-05/0.008065, allocations: 35.92 kB / 443.3 MB, free: 4.984 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.008212, allocations: 27.89 kB / 443.3 MB, free: 4.957 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.008237, allocations: 4 kB / 443.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002347/0.008472, allocations: 87.83 kB / 443.4 MB, free: 4.867 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.019e-05/0.008532, allocations: 15.92 kB / 443.4 MB, free: 4.852 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.222e-05/0.008575, allocations: 19.92 kB / 443.4 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003637/0.008938, allocations: 135.6 kB / 443.5 MB, free: 4.699 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.008941, allocations: 7.938 kB / 443.5 MB, free: 4.691 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.008942, allocations: 0 / 443.5 MB, free: 4.691 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.008946, allocations: 0 / 443.5 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.0006044/0.00955, allocations: 329.7 kB / 443.9 MB, free: 4.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.009588, allocations: 8.031 kB / 443.9 MB, free: 4.332 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.98e-05/0.009648, allocations: 8.891 kB / 443.9 MB, free: 4.324 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.009912, allocations: 137.6 kB / 444 MB, free: 4.164 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.009924, allocations: 384 / 444 MB, free: 4.164 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.009946, allocations: 4.375 kB / 444 MB, free: 4.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.01017, allocations: 85.67 kB / 444.1 MB, free: 4.059 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.01018, allocations: 12.08 kB / 444.1 MB, free: 4.047 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.0102, allocations: 4.125 kB / 444.1 MB, free: 4.043 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.0102, allocations: 0 / 444.1 MB, free: 4.043 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.01032, allocations: 23.97 kB / 444.1 MB, free: 4.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.01072, allocations: 220.6 kB / 444.4 MB, free: 3.773 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.01097, allocations: 42.5 kB / 444.4 MB, free: 3.723 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.463e-05/0.01105, allocations: 20.94 kB / 444.4 MB, free: 3.699 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.01107, allocations: 3.938 kB / 444.4 MB, free: 3.695 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.0111, allocations: 30.56 kB / 444.5 MB, free: 3.656 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.0111, allocations: 4 kB / 444.5 MB, free: 3.652 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007397/0.01184, allocations: 137.4 kB / 444.6 MB, free: 3.512 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.283e-05/0.01191, allocations: 81.11 kB / 444.7 MB, free: 3.414 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.01215, allocations: 148.3 kB / 444.8 MB, free: 3.262 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.01217, allocations: 25.7 kB / 444.8 MB, free: 3.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.893e-05/0.01226, allocations: 100.1 kB / 444.9 MB, free: 3.129 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.01228, allocations: 11.86 kB / 445 MB, free: 3.117 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.01234, allocations: 25.7 kB / 445 MB, free: 3.086 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.01252, allocations: 322.8 kB / 445.3 MB, free: 2.762 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.336e-05/0.01259, allocations: 15.98 kB / 445.3 MB, free: 2.746 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.01269, allocations: 63.39 kB / 445.4 MB, free: 2.672 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.01283, allocations: 40.84 kB / 445.4 MB, free: 2.629 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.01283, allocations: 3.938 kB / 445.4 MB, free: 2.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001994/0.01303, allocations: 89.8 kB / 445.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.01304, allocations: 8.031 kB / 445.5 MB, free: 2.523 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.01305, allocations: 4 kB / 445.5 MB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.01306, allocations: 0 / 445.5 MB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.537e-05/0.01313, allocations: 15.98 kB / 445.5 MB, free: 2.504 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.01313, allocations: 0 / 445.5 MB, free: 2.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.764e-05/0.01318, allocations: 4 kB / 445.5 MB, free: 2.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.01318, allocations: 0 / 445.5 MB, free: 2.5 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.828e-05/0.01328, allocations: 118.4 kB / 445.7 MB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.65e-05/0.01332, allocations: 7.953 kB / 445.7 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.01356, allocations: 98.05 kB / 445.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.01356, allocations: 288 / 445.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.01357, allocations: 0 / 445.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.01357, allocations: 0 / 445.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000426/0.014, allocations: 294.2 kB / 446 MB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.014, allocations: 3.984 kB / 446 MB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.094e-05/0.01406, allocations: 15.92 kB / 446.1 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01406, allocations: 4 kB / 446.1 MB, free: 1.914 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.01407, allocations: 4 kB / 446.1 MB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.01407, allocations: 0 / 446.1 MB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01407, allocations: 0 / 446.1 MB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.01432, allocations: 179.4 kB / 446.2 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.57e-05/0.01434, allocations: 7.953 kB / 446.3 MB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.01436, allocations: 0 / 446.3 MB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.841e-05/0.01444, allocations: 12.11 kB / 446.3 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.01446, allocations: 8 kB / 446.3 MB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.01447, allocations: 4 kB / 446.3 MB, free: 1.688 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001028/0.01457, allocations: 121.4 kB / 446.4 MB, free: 1.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01457, allocations: 0 / 446.4 MB, free: 1.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002972/0.01487, allocations: 43.8 kB / 446.4 MB, free: 1.527 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.001829/0.0167, allocations: 0.5113 MB / 446.9 MB, free: 1.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001991/0.0169, allocations: 47.91 kB / 447 MB, free: 1.184 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.0169, allocations: 0 / 447 MB, free: 1.184 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.652e-05/0.01698, allocations: 27.97 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.0002876/0.01726, 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.000414/0.01768, allocations: 176.6 kB / 447.2 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.272e-05/0.01775, allocations: 79.27 kB / 447.3 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.301e-05/0.0178, allocations: 11.98 kB / 447.3 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.537e-05/0.01785, allocations: 12.5 kB / 447.3 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.01785, allocations: 0 / 447.3 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of Templates: time 0.1721/0.1899, allocations: 1.814 MB / 449.1 MB, free: 21.43 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.632798537611961]