Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001066/0.001066, 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.001209/0.001209, allocations: 161 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.049/1.049, allocations: 177.1 MB / 205 MB, free: 5.59 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.2689/0.2689, allocations: 34.27 MB / 295.7 MB, free: 0.7539 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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 378.1 MB, free: 2.605 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.101e-05/3.277e-05, allocations: 6.25 kB / 378.1 MB, free: 2.598 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003215/0.003248, allocations: 1.66 MB / 379.7 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.004566, allocations: 0.5453 MB / 380.3 MB, free: 384 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.483e-05/0.004641, allocations: 4 kB / 380.3 MB, free: 380 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003354/0.004976, allocations: 95.67 kB / 380.4 MB, free: 284 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003559/0.005332, allocations: 111.5 kB / 380.5 MB, free: 172 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.005667, allocations: 115.6 kB / 380.6 MB, free: 56 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.005873, allocations: 83.77 kB / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.005986, allocations: 19.97 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.273e-05/0.006069, allocations: 43.89 kB / 380.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.006179, allocations: 55.88 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.006196, allocations: 0 / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.006313, allocations: 55.84 kB / 380.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.802e-05/0.006371, allocations: 19.92 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.905e-05/0.00641, allocations: 11.94 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.006623, allocations: 95.59 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.006626, allocations: 0 / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.006627, allocations: 4 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.006633, allocations: 0 / 381 MB, free: 15.67 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.0005262/0.007159, allocations: 455.8 kB / 381.4 MB, free: 15.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.007204, allocations: 12.03 kB / 381.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.119e-05/0.007255, allocations: 8.891 kB / 381.4 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.007441, allocations: 156.3 kB / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.007452, allocations: 384 / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.391e-05/0.007485, allocations: 12.36 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.007636, allocations: 50.95 kB / 381.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.007649, allocations: 4.188 kB / 381.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.007661, allocations: 4.125 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.00767, allocations: 4 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.184e-05/0.007712, allocations: 11.98 kB / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/0.008136, allocations: 311.6 kB / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.686e-05/0.008223, allocations: 43.05 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.008255, allocations: 15.62 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.00828, allocations: 0 / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.008309, allocations: 37.33 kB / 382.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.00831, allocations: 0 / 382.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007066/0.009017, allocations: 177.3 kB / 382.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.009052, allocations: 59.39 kB / 382.3 MB, free: 14.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.009255, allocations: 249.9 kB / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.00927, allocations: 25.7 kB / 382.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.07e-05/0.009351, allocations: 158.8 kB / 382.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.009388, allocations: 31.73 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-05/0.009439, allocations: 23.38 kB / 382.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.00959, allocations: 0.504 MB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.216e-05/0.009623, allocations: 7.984 kB / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.622e-05/0.009649, allocations: 8 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.764e-05/0.009716, allocations: 35.67 kB / 383.3 MB, free: 13.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.009718, allocations: 0 / 383.3 MB, free: 13.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001371/0.009855, allocations: 85.64 kB / 383.4 MB, free: 13.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.009871, allocations: 4 kB / 383.4 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.009877, allocations: 4 kB / 383.4 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.009896, allocations: 0 / 383.4 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.01, allocations: 19.98 kB / 383.4 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.01001, allocations: 0 / 383.4 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.121e-05/0.01004, allocations: 4 kB / 383.4 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.01005, allocations: 4 kB / 383.4 MB, free: 12.98 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.178e-05/0.01013, allocations: 156.5 kB / 383.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.01017, allocations: 23.91 kB / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/0.01036, allocations: 91.06 kB / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01036, allocations: 0 / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.01037, allocations: 0 / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01037, allocations: 0 / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004319/0.0108, allocations: 393.3 kB / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.0108, allocations: 0 / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.075e-05/0.01087, allocations: 12 kB / 384.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.01087, allocations: 7.938 kB / 384.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.01088, allocations: 3.984 kB / 384.1 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.01088, allocations: 4.031 kB / 384.1 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.01088, allocations: 3.938 kB / 384.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.01106, allocations: 243.5 kB / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.408e-05/0.01107, allocations: 7.953 kB / 384.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.01109, allocations: 0 / 384.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.476e-05/0.01116, allocations: 7.984 kB / 384.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.01119, allocations: 3.938 kB / 384.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.0112, allocations: 8 kB / 384.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001229/0.01133, allocations: 175.1 kB / 384.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01133, allocations: 0 / 384.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002989/0.01162, allocations: 23.94 kB / 384.6 MB, free: 11.75 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.001361/0.01299, allocations: 442.1 kB / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001505/0.01314, allocations: 47.64 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01314, allocations: 0 / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.184e-05/0.01318, allocations: 23.62 kB / 385.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.01353, allocations: 25.86 kB / 385.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005052/0.01403, allocations: 249.7 kB / 385.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.226e-05/0.0141, allocations: 76.09 kB / 385.4 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.808e-05/0.01416, allocations: 21 kB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.506e-05/0.01421, allocations: 20.5 kB / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of SimCode: time 1.001e-06/0.01421, allocations: 0 / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of Templates: time 0.004491/0.0187, allocations: 1.419 MB / 386.9 MB, free: 9.555 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.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.316007637884468]