Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.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.002524/0.002524, allocations: 91.62 kB / 20.96 MB, free: 3.461 MB / 18.57 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.00294/0.00294, allocations: 161.3 kB / 24.27 MB, free: 156 kB / 18.57 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.589/1.589, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3651/0.3651, allocations: 34.26 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Dv.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.195e-05/3.391e-05, allocations: 2.312 kB / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test35): time 0.003743/0.003777, allocations: 1.622 MB / 378.9 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.006029, allocations: 1.259 MB / 380.2 MB, free: 64 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.366e-05/0.006112, allocations: 4 kB / 380.2 MB, free: 60 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.006369, allocations: 27.78 kB / 380.2 MB, free: 32 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004486/0.006817, allocations: 83.55 kB / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003681/0.007186, allocations: 111.6 kB / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.007367, allocations: 71.81 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.597e-05/0.007463, allocations: 4 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.007568, allocations: 43.84 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.007723, allocations: 23.91 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.007748, allocations: 4 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002146/0.007963, allocations: 95.81 kB / 380.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.008029, allocations: 19.92 kB / 380.7 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.008066, allocations: 11.94 kB / 380.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003503/0.008416, allocations: 143.5 kB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.00842, allocations: 0 / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.008421, allocations: 0 / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.008427, allocations: 0 / 380.8 MB, free: 15.43 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006662/0.009093, allocations: 431.6 kB / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.009133, allocations: 12.03 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.388e-05/0.009197, allocations: 8.891 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.009442, allocations: 140.5 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.009453, allocations: 4.375 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.009475, allocations: 4.375 kB / 381.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.009681, allocations: 91.27 kB / 381.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.009695, allocations: 4.188 kB / 381.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.009709, allocations: 4.125 kB / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.009713, allocations: 0 / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.456e-05/0.009798, allocations: 11.98 kB / 381.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004807/0.01028, allocations: 291.8 kB / 381.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.01054, allocations: 50.98 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.195e-05/0.0106, allocations: 23.69 kB / 381.9 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.01062, allocations: 3.938 kB / 381.9 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.01065, allocations: 33.39 kB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.01065, allocations: 3.938 kB / 381.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006081/0.01126, allocations: 129.5 kB / 382 MB, free: 14.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.994e-05/0.01133, allocations: 77.11 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.01156, allocations: 211.8 kB / 382.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.01159, allocations: 29.69 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.01169, allocations: 146.9 kB / 382.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.01171, allocations: 15.91 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-05/0.01177, allocations: 31.36 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002741/0.01204, allocations: 0.4884 MB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.556e-05/0.01211, allocations: 15.98 kB / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.333e-05/0.0122, allocations: 61.06 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.01232, allocations: 43.8 kB / 383.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.01233, allocations: 4 kB / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001955/0.01252, allocations: 69.58 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.01254, allocations: 12.03 kB / 383.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.01255, allocations: 3.984 kB / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.01256, allocations: 0 / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.374e-05/0.01263, allocations: 8 kB / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.01263, allocations: 0 / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.188e-05/0.01267, allocations: 4 kB / 383.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.01268, allocations: 3.984 kB / 383.2 MB, free: 12.76 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 (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.0002756/0.01296, allocations: 164.5 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.314e-05/0.013, allocations: 11.89 kB / 383.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/0.01325, allocations: 90.08 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.01325, allocations: 288 / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.01325, allocations: 0 / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.01326, allocations: 3.984 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004919/0.01375, allocations: 349.3 kB / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01376, allocations: 0 / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.566e-05/0.01381, allocations: 11.98 kB / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.01381, allocations: 0 / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.01383, allocations: 4 kB / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.01383, allocations: 0 / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01383, allocations: 4.188 kB / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.01412, allocations: 223.8 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.905e-05/0.01413, allocations: 15.89 kB / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.01415, allocations: 0 / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.765e-05/0.01422, allocations: 7.938 kB / 384.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.01426, allocations: 3.984 kB / 384.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.01427, allocations: 4 kB / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001502/0.01442, allocations: 161.3 kB / 384.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01442, allocations: 0 / 384.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002874/0.01471, allocations: 35.88 kB / 384.3 MB, free: 11.61 MB / 362.7 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.003398/0.0181, allocations: 0.5228 MB / 384.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000216/0.01832, allocations: 47.66 kB / 384.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.01832, allocations: 0 / 384.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.767e-05/0.0184, allocations: 27.62 kB / 384.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.01871, allocations: 26.42 kB / 384.9 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004893/0.0192, allocations: 181.9 kB / 385.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.0193, allocations: 81.77 kB / 385.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.442e-05/0.01938, allocations: 15.97 kB / 385.2 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.91e-05/0.01943, allocations: 16.48 kB / 385.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01943, allocations: 4 kB / 385.2 MB, free: 10.85 MB / 362.7 MB Notification: Performance of Templates: time 0.0059/0.02533, allocations: 1.832 MB / 387.1 MB, free: 9.027 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.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.988225384964608]