Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.001318/0.001318, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001246/0.001246, allocations: 168.8 kB / 24.82 MB, free: 9.27 MB / 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.129/1.129, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.3784/0.3784, allocations: 34.27 MB / 296.1 MB, free: 0.6367 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 378.5 MB, free: 2.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.788e-05/4.02e-05, allocations: 5.547 kB / 378.5 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003252/0.003292, allocations: 1.673 MB / 380.2 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.004338, allocations: 0.5492 MB / 380.7 MB, free: 96 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.004446, allocations: 0 / 380.7 MB, free: 96 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004501/0.004896, allocations: 99.72 kB / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004261/0.005322, allocations: 111.4 kB / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.005703, allocations: 115.6 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.005952, allocations: 107.7 kB / 381.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.006126, allocations: 19.98 kB / 381.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.006249, allocations: 59.86 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.006402, allocations: 63.86 kB / 381.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.006424, allocations: 4 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.006551, allocations: 47.92 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.318e-05/0.006624, allocations: 31.86 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.437e-05/0.006668, allocations: 19.92 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.006909, allocations: 115.5 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.006917, allocations: 4 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.006919, allocations: 0 / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.006927, allocations: 0 / 381.5 MB, free: 15.31 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005821/0.007509, allocations: 459.8 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/0.007568, allocations: 8.031 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.476e-05/0.007633, allocations: 24.84 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.007823, allocations: 160.3 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.007837, allocations: 4.375 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.007867, allocations: 8.375 kB / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.008034, allocations: 70.94 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.008046, allocations: 4.125 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.008058, allocations: 4.125 kB / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.008065, allocations: 3.984 kB / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.968e-05/0.008105, allocations: 23.97 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004443/0.008549, allocations: 300.2 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.008653, allocations: 58.97 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.128e-05/0.008684, allocations: 19.67 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.147e-05/0.008726, allocations: 0 / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.00876, allocations: 41.33 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.008762, allocations: 0 / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007132/0.009475, allocations: 217.6 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.009513, allocations: 51.41 kB / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.009684, allocations: 246.7 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.009697, allocations: 25.7 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.285e-05/0.00978, allocations: 170.7 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.508e-05/0.009825, allocations: 43.62 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.031e-05/0.009876, allocations: 31.31 kB / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.01006, allocations: 0.5156 MB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.97e-05/0.01009, allocations: 8.125 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.636e-05/0.01011, allocations: 19.98 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.22e-05/0.01019, allocations: 51.28 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01019, allocations: 0 / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001305/0.01032, allocations: 89.59 kB / 384.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.01034, allocations: 10.03 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.01035, allocations: 0 / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.01036, allocations: 4 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.01046, allocations: 27.92 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.01047, allocations: 4 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.997e-05/0.0105, allocations: 15.92 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.01051, allocations: 0 / 384.2 MB, free: 12.43 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 (13): * Single equations (assignments): 13 * 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.265e-05/0.0106, allocations: 164.5 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.01063, allocations: 15.91 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.01085, allocations: 123.5 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.01085, allocations: 4 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.01086, allocations: 0 / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.01086, allocations: 0 / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004409/0.0113, allocations: 393.5 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.0113, allocations: 0 / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.188e-05/0.01137, allocations: 23.98 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.01137, allocations: 0 / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.01138, allocations: 8 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.01138, allocations: 3.938 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.01139, allocations: 7.969 kB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.01156, allocations: 259.4 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.573e-05/0.01158, allocations: 11.91 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.0116, allocations: 15.92 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.642e-05/0.01164, allocations: 0 / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.01168, allocations: 11.92 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.01169, allocations: 8 kB / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000101/0.01179, allocations: 173 kB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01179, allocations: 0 / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000195/0.01198, allocations: 27.98 kB / 385.4 MB, free: 11.13 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 (13): * Single equations (assignments): 13 * 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.001026/0.01301, allocations: 451 kB / 385.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001458/0.01315, allocations: 55.59 kB / 385.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.01316, allocations: 0 / 385.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.382e-05/0.0132, allocations: 39.66 kB / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.01346, allocations: 19.98 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005039/0.01397, allocations: 280.6 kB / 386.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.542e-05/0.01403, allocations: 83.33 kB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.675e-05/0.01409, allocations: 20.47 kB / 386.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.44e-05/0.01417, allocations: 82.2 kB / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of SimCode: time 1.603e-06/0.01418, allocations: 0 / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of Templates: time 0.005033/0.01921, allocations: 1.799 MB / 388.2 MB, free: 8.441 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.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.4766688109375536]