Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001363/0.001363, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001677/0.001677, allocations: 165 kB / 24.56 MB, free: 12 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.019/1.019, allocations: 177.1 MB / 205 MB, free: 5.633 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.2817/0.2817, allocations: 34.25 MB / 295.7 MB, free: 0.6992 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.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_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.822e-05/1.979e-05, allocations: 2.312 kB / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002049/0.002069, allocations: 1.65 MB / 379.7 MB, free: 0.957 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006959/0.002764, allocations: 0.5531 MB / 380.3 MB, free: 408 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.332e-05/0.002818, allocations: 4 kB / 380.3 MB, free: 404 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002653/0.003083, allocations: 119.6 kB / 380.4 MB, free: 284 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.003334, allocations: 131.4 kB / 380.5 MB, free: 152 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.003541, allocations: 119.6 kB / 380.6 MB, free: 32 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.003697, allocations: 99.69 kB / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.02e-05/0.003787, allocations: 15.97 kB / 380.7 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.783e-05/0.003855, allocations: 59.86 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.003962, allocations: 83.83 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.003977, allocations: 4 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.106e-05/0.004048, allocations: 43.92 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.004094, allocations: 23.92 kB / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.999e-05/0.004123, allocations: 23.86 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.004269, allocations: 99.66 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.004271, allocations: 7.938 kB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004272, allocations: 0 / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.004276, allocations: 0 / 381.1 MB, free: 15.58 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.0003751/0.004651, allocations: 471.6 kB / 381.5 MB, free: 15.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.004684, allocations: 8.031 kB / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.004726, allocations: 16.84 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.004865, allocations: 152.4 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.004873, allocations: 4.375 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.004893, allocations: 4.375 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.004995, allocations: 54.95 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.005004, allocations: 8.125 kB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.005015, allocations: 8.125 kB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.00502, allocations: 0 / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.121e-05/0.005052, allocations: 11.98 kB / 381.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.005345, allocations: 307.7 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.951e-05/0.005404, allocations: 39 kB / 382.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.581e-05/0.00543, allocations: 23.7 kB / 382.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.005447, allocations: 0 / 382.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.005468, allocations: 37.39 kB / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.005469, allocations: 0 / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004959/0.005965, allocations: 185.2 kB / 382.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.005993, allocations: 55.41 kB / 382.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.006147, allocations: 274.8 kB / 382.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.006159, allocations: 29.7 kB / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/0.006223, allocations: 170.8 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.006245, allocations: 27.75 kB / 382.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.006277, allocations: 27.36 kB / 383 MB, free: 13.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.006398, allocations: 0.504 MB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.264e-05/0.00642, allocations: 19.98 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.912e-05/0.006439, allocations: 15.94 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.455e-05/0.006484, allocations: 31.69 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.006485, allocations: 0 / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.825e-05/0.006574, allocations: 81.58 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.006587, allocations: 10.48 kB / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.006591, allocations: 0 / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.006602, allocations: 0 / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.959e-05/0.006672, allocations: 15.94 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.006677, allocations: 4 kB / 383.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.914e-05/0.006696, allocations: 7.984 kB / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.006702, allocations: 8 kB / 383.6 MB, free: 12.8 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 6.48e-05/0.006767, allocations: 160.5 kB / 383.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.112e-05/0.006788, allocations: 15.91 kB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.00691, allocations: 95.38 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.006911, allocations: 0 / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.006915, allocations: 0 / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.006917, allocations: 0 / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.007191, allocations: 393 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.007192, allocations: 0 / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.271e-05/0.007224, allocations: 19.97 kB / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.007229, allocations: 7.984 kB / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.007235, allocations: 0 / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.007236, allocations: 0 / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.007237, allocations: 0 / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.007357, allocations: 243.4 kB / 384.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-06/0.007367, allocations: 11.89 kB / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.007378, allocations: 0 / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.407e-05/0.007413, allocations: 7.984 kB / 384.6 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.007441, allocations: 11.94 kB / 384.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.007445, allocations: 3.984 kB / 384.6 MB, free: 11.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.722e-05/0.007533, allocations: 196.1 kB / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007533, allocations: 0 / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001649/0.007698, allocations: 23.98 kB / 384.8 MB, free: 11.55 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.0009209/0.008618, allocations: 443.5 kB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.00872, allocations: 43.61 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.008721, allocations: 0 / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.148e-05/0.008753, allocations: 31.66 kB / 385.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.008958, allocations: 28 kB / 385.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000337/0.009295, allocations: 275.1 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.24e-05/0.009338, allocations: 75.33 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.007e-05/0.009378, allocations: 21.02 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.84e-05/0.009406, allocations: 16.48 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.009407, allocations: 4 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of Templates: time 0.003241/0.01265, allocations: 1.528 MB / 387.3 MB, free: 9.215 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.19068308128044]