Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001466/0.001466, allocations: 78.66 kB / 21.42 MB, free: 3.07 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.001821/0.001821, allocations: 172 kB / 24.82 MB, free: 9.32 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.006/1.006, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2783/0.2783, allocations: 34.26 MB / 296.1 MB, free: 0.7266 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 378.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.737e-05, allocations: 2.312 kB / 378.5 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002765/0.002792, allocations: 1.634 MB / 380.2 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000818/0.00361, allocations: 0.5297 MB / 380.7 MB, free: 212 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.358e-05/0.003684, allocations: 0 / 380.7 MB, free: 212 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002326/0.003916, allocations: 23.86 kB / 380.7 MB, free: 188 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003408/0.004257, allocations: 79.55 kB / 380.8 MB, free: 108 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.004601, allocations: 119.6 kB / 380.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.004756, allocations: 59.84 kB / 381 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.004865, allocations: 15.91 kB / 381 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.332e-05/0.004938, allocations: 27.91 kB / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.323e-05/0.005011, allocations: 19.92 kB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.005029, allocations: 4 kB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.975e-05/0.005119, allocations: 24 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.819e-05/0.005177, allocations: 19.91 kB / 381.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.005204, allocations: 11.94 kB / 381.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.00535, allocations: 67.69 kB / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.005354, allocations: 0 / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005355, allocations: 0 / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.00536, allocations: 4 kB / 381.1 MB, free: 15.74 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.000385/0.005745, allocations: 420.1 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.005795, allocations: 8.031 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.00583, allocations: 8.891 kB / 381.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.005966, allocations: 136.5 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.005975, allocations: 384 / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.005993, allocations: 8.312 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.894e-05/0.006092, allocations: 50.95 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.006101, allocations: 4.125 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.006111, allocations: 8.125 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.006117, allocations: 3.984 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.976e-05/0.006137, allocations: 8 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002871/0.006424, allocations: 252.4 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.006554, allocations: 42.98 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.882e-05/0.006573, allocations: 15.69 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.006599, allocations: 0 / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.006624, allocations: 37.33 kB / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.006625, allocations: 4 kB / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000312/0.006937, allocations: 93.53 kB / 382.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.006967, allocations: 51.41 kB / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.007085, allocations: 196.5 kB / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.007101, allocations: 29.7 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.171e-05/0.007163, allocations: 142.8 kB / 382.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.007191, allocations: 27.78 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.007224, allocations: 19.38 kB / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.007369, allocations: 0.4884 MB / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.007382, allocations: 4 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.326e-05/0.007395, allocations: 7.984 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.846e-05/0.007434, allocations: 31.81 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.007435, allocations: 0 / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.418e-05/0.007519, allocations: 57.58 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.007536, allocations: 8 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.007545, allocations: 4 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.007559, allocations: 0 / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.638e-05/0.007595, allocations: 8 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.007599, allocations: 0 / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.088e-05/0.00762, allocations: 11.98 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.007624, allocations: 0 / 383.3 MB, free: 13.39 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 7.731e-05/0.007701, allocations: 156.5 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.054e-05/0.007721, allocations: 11.89 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.00785, allocations: 70.12 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.007852, allocations: 4 kB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.007854, allocations: 0 / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.007858, allocations: 3.938 kB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002397/0.008097, allocations: 302 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.008099, allocations: 0 / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.521e-05/0.008124, allocations: 8 kB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.008127, allocations: 0 / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.008134, allocations: 11.98 kB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.008136, allocations: 0 / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.008137, allocations: 0 / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.008244, allocations: 216 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.205e-06/0.008252, allocations: 3.953 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.008263, allocations: 4 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.823e-05/0.008291, allocations: 0 / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/0.008317, allocations: 7.984 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.00832, allocations: 0 / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.397e-05/0.008374, allocations: 149.9 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008374, allocations: 0 / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001592/0.008533, allocations: 15.98 kB / 384.2 MB, free: 12.38 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.000792/0.009325, allocations: 380.5 kB / 384.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.176e-05/0.009397, allocations: 27.66 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.0094, allocations: 0 / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.289e-05/0.009423, allocations: 27.61 kB / 384.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.009639, allocations: 37.77 kB / 384.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002963/0.009936, allocations: 170.6 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.833e-05/0.009974, allocations: 59.34 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.384e-05/0.01001, allocations: 11.98 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.785e-05/0.01008, allocations: 78.2 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of SimCode: time 1.372e-06/0.01008, allocations: 0 / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of Templates: time 0.003267/0.01334, allocations: 1.283 MB / 386.3 MB, free: 10.4 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.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.3841356770135462]