Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.001432/0.001432, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001782/0.001782, allocations: 165 kB / 24.56 MB, free: 16 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 0.9784/0.9784, allocations: 177.1 MB / 205 MB, free: 5.281 MB / 186.7 MB " [Timeout remaining time 179] 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.2738/0.2738, allocations: 34.26 MB / 295.7 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.337e-05/2.471e-05, allocations: 2.312 kB / 378.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.002218/0.002243, allocations: 1.72 MB / 379.8 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000857/0.0031, allocations: 0.5686 MB / 380.4 MB, free: 332 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.967e-05/0.00317, allocations: 0 / 380.4 MB, free: 332 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002823/0.003452, allocations: 83.58 kB / 380.4 MB, free: 248 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003415/0.003793, allocations: 103.5 kB / 380.5 MB, free: 144 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.004162, allocations: 175.5 kB / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.004331, allocations: 95.73 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.88e-05/0.004429, allocations: 16.22 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.068e-05/0.0045, allocations: 47.89 kB / 380.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.192e-05/0.004592, allocations: 55.86 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.004607, allocations: 7.938 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.57e-05/0.004703, allocations: 47.92 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.423e-05/0.004767, allocations: 27.92 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.372e-05/0.004801, allocations: 15.92 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.00497, allocations: 107.6 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.004973, allocations: 4 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.004974, allocations: 0 / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.004979, allocations: 0 / 381.1 MB, free: 15.55 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000494/0.005473, allocations: 455.8 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.005514, allocations: 12.03 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.005566, allocations: 12.84 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.005733, allocations: 164.9 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.005743, allocations: 384 / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.005764, allocations: 4.375 kB / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.005898, allocations: 70.88 kB / 381.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.005908, allocations: 8.125 kB / 381.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.00592, allocations: 8.125 kB / 381.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.005927, allocations: 0 / 381.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.588e-05/0.005963, allocations: 11.98 kB / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.006295, allocations: 311.6 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.00646, allocations: 54.97 kB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.533e-05/0.006485, allocations: 15.81 kB / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.006502, allocations: 4 kB / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.006522, allocations: 33.39 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.006523, allocations: 4 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005902/0.007113, allocations: 249.6 kB / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.007143, allocations: 55.41 kB / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005344/0.007677, allocations: 233.9 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.007689, allocations: 25.7 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.465e-05/0.007744, allocations: 158.8 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.007773, allocations: 39.7 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.007809, allocations: 31.36 kB / 383 MB, free: 13.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.007914, allocations: 0.5 MB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.226e-05/0.007947, allocations: 19.98 kB / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.512e-05/0.007972, allocations: 11.94 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.648e-05/0.008038, allocations: 55.94 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.00804, allocations: 0 / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001115/0.008151, allocations: 97.53 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.008162, allocations: 4 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.008166, allocations: 0 / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.008177, allocations: 3.938 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.693e-05/0.008244, allocations: 31.97 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.008249, allocations: 0 / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.385e-05/0.008272, allocations: 4 kB / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.008281, allocations: 7.984 kB / 383.8 MB, free: 12.68 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 (11): * Single equations (assignments): 11 * 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 6.847e-05/0.008349, allocations: 164.5 kB / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.008374, allocations: 19.91 kB / 384 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/0.008535, allocations: 107.1 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.008538, allocations: 0 / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.008542, allocations: 0 / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.008545, allocations: 4 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003477/0.008893, allocations: 428.5 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.008895, allocations: 0 / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.373e-05/0.008949, allocations: 23.98 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.008952, allocations: 0 / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.008961, allocations: 11.94 kB / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.008964, allocations: 8.062 kB / 384.5 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.008965, allocations: 0 / 384.5 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.009108, allocations: 259.2 kB / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.116e-05/0.009119, allocations: 15.97 kB / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.009133, allocations: 4 kB / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.062e-05/0.009173, allocations: 11.92 kB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/0.009203, allocations: 7.984 kB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.00921, allocations: 8 kB / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.924e-05/0.009279, allocations: 172.1 kB / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009279, allocations: 0 / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001714/0.009451, allocations: 27.94 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009287/0.01038, allocations: 438.2 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001458/0.01053, allocations: 59.55 kB / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01053, allocations: 0 / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.491e-05/0.01057, allocations: 43.59 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.01078, allocations: 24.55 kB / 385.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003751/0.01115, allocations: 281 kB / 385.8 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.277e-05/0.0112, allocations: 79.25 kB / 385.9 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.893e-05/0.01126, allocations: 32.58 kB / 386 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.527e-05/0.01129, allocations: 20.5 kB / 386 MB, free: 10.48 MB / 362.7 MB Notification: Performance of SimCode: time 1.603e-06/0.01129, allocations: 0 / 386 MB, free: 10.48 MB / 362.7 MB Notification: Performance of Templates: time 0.003687/0.01498, allocations: 1.779 MB / 387.8 MB, free: 8.719 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.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.1574072199873626]