Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001235/0.001235, allocations: 87.67 kB / 21.2 MB, free: 3.367 MB / 18.57 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.001469/0.001469, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 18.57 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.029/1.029, allocations: 177 MB / 204.8 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2587/0.2587, allocations: 34.86 MB / 296.3 MB, free: 0.5469 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.076e-05/3.227e-05, allocations: 3.156 kB / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002562/0.002594, allocations: 1.66 MB / 380.4 MB, free: 412 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000842/0.003436, allocations: 0.5487 MB / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.692e-05/0.003513, allocations: 0 / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003379/0.003851, allocations: 127.5 kB / 381.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003627/0.004214, allocations: 135.4 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.004521, allocations: 111.7 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.004704, allocations: 103.7 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.596e-05/0.0048, allocations: 12 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.556e-05/0.004876, allocations: 55.86 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.004999, allocations: 91.83 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.005016, allocations: 4 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000246/0.005262, allocations: 47.91 kB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.654e-05/0.005318, allocations: 23.92 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/0.005354, allocations: 15.88 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.005542, allocations: 99.59 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.005545, allocations: 4 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.005547, allocations: 0 / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.005553, allocations: 3.938 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004599/0.006013, allocations: 471.7 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.00606, allocations: 12.03 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.204e-05/0.006112, allocations: 20.84 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.006275, allocations: 148.4 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.016e-06/0.006284, allocations: 384 / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.006311, allocations: 4.375 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.00644, allocations: 62.92 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.00645, allocations: 4.125 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.00646, allocations: 4.359 kB / 382.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.006468, allocations: 4.375 kB / 382.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.308e-05/0.006501, allocations: 11.94 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003471/0.006848, allocations: 307.7 kB / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.25e-05/0.006921, allocations: 50.98 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.448e-05/0.006945, allocations: 11.69 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.006967, allocations: 4 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.006995, allocations: 37.33 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.006996, allocations: 0 / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005772/0.007573, allocations: 173.3 kB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.00761, allocations: 51.41 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.007795, allocations: 274.8 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.007808, allocations: 33.64 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.147e-05/0.00789, allocations: 166.8 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.007923, allocations: 31.73 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/0.007966, allocations: 27.38 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.008114, allocations: 0.504 MB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.951e-05/0.008144, allocations: 19.98 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.945e-05/0.008163, allocations: 8 kB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.752e-05/0.008221, allocations: 35.67 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.008222, allocations: 0 / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001148/0.008337, allocations: 81.53 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.008354, allocations: 4 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.008358, allocations: 4 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.008377, allocations: 4 kB / 384.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.616e-05/0.008473, allocations: 19.92 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.008481, allocations: 320 / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.253e-05/0.008504, allocations: 8 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.008511, allocations: 0 / 384.4 MB, free: 12.25 MB / 362.7 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 (8): * Single equations (assignments): 8 * 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 8.6e-05/0.008597, allocations: 156.6 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.008626, allocations: 23.84 kB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001573/0.008783, allocations: 87.11 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.008785, allocations: 4 kB / 384.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.008791, allocations: 8 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.008793, allocations: 0 / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003539/0.009147, allocations: 392.9 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.009151, allocations: 7.938 kB / 385 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.139e-05/0.009202, allocations: 15.98 kB / 385 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.009205, allocations: 0 / 385 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.009212, allocations: 0 / 385 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.009216, allocations: 4 kB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.009218, allocations: 0 / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.009541, allocations: 251.4 kB / 385.3 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.322e-05/0.009555, allocations: 12.36 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.009569, allocations: 4 kB / 385.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.443e-05/0.009603, allocations: 0 / 385.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.009639, allocations: 7.984 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.009645, allocations: 11.94 kB / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.569e-05/0.00974, allocations: 192.1 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.009741, allocations: 0 / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001757/0.009916, allocations: 19.94 kB / 385.5 MB, free: 11 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0009237/0.01084, allocations: 427.3 kB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001283/0.01097, allocations: 47.59 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.01097, allocations: 0 / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.176e-05/0.011, allocations: 31.67 kB / 386 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.01125, allocations: 27.8 kB / 386.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004764/0.01172, allocations: 271.1 kB / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.545e-05/0.01178, allocations: 75.39 kB / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.161e-05/0.01184, allocations: 24.7 kB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.233e-05/0.01188, allocations: 16.5 kB / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of SimCode: time 8.81e-07/0.01189, allocations: 0 / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of Templates: time 0.00376/0.01564, allocations: 1.421 MB / 387.9 MB, free: 8.75 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.422470262274146]