Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001262/0.001262, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001275/0.001275, allocations: 163.9 kB / 25.61 MB, free: 8.582 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 0.9669/0.9669, allocations: 177.2 MB / 206.1 MB, free: 4.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.14/0.14, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.645e-05, allocations: 2.312 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002272/0.002298, allocations: 1.625 MB / 378.9 MB, free: 23.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007915/0.00309, allocations: 0.522 MB / 379.4 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.369e-05/0.003164, allocations: 3.938 kB / 379.4 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.003395, allocations: 23.84 kB / 379.5 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002981/0.003693, allocations: 79.56 kB / 379.5 MB, free: 23.3 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.003942, allocations: 99.62 kB / 379.6 MB, free: 23.2 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.004083, allocations: 67.72 kB / 379.7 MB, free: 23.14 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.004186, allocations: 15.83 kB / 379.7 MB, free: 23.12 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.956e-05/0.004246, allocations: 27.92 kB / 379.7 MB, free: 23.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.638e-05/0.004302, allocations: 15.98 kB / 379.8 MB, free: 23.08 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.004317, allocations: 4 kB / 379.8 MB, free: 23.07 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.531e-05/0.004392, allocations: 31.97 kB / 379.8 MB, free: 23.04 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.432e-05/0.004436, allocations: 11.94 kB / 379.8 MB, free: 23.03 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.343e-05/0.00446, allocations: 15.92 kB / 379.8 MB, free: 23.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.004602, allocations: 67.73 kB / 379.9 MB, free: 22.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.004606, allocations: 4 kB / 379.9 MB, free: 22.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.004607, allocations: 3.938 kB / 379.9 MB, free: 22.94 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.004613, allocations: 0 / 379.9 MB, free: 22.94 MB / 314.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.0004186/0.005031, allocations: 412.1 kB / 380.3 MB, free: 22.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.005076, allocations: 11.98 kB / 380.3 MB, free: 22.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.00512, allocations: 12.89 kB / 380.3 MB, free: 22.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.00526, allocations: 140.5 kB / 380.5 MB, free: 22.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.005271, allocations: 384 / 380.5 MB, free: 22.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.00529, allocations: 4.375 kB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.005391, allocations: 54.95 kB / 380.5 MB, free: 22.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.0054, allocations: 192 / 380.5 MB, free: 22.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.005407, allocations: 8.125 kB / 380.5 MB, free: 22.24 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.005411, allocations: 0 / 380.5 MB, free: 22.24 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.235e-05/0.005433, allocations: 11.92 kB / 380.5 MB, free: 22.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002125/0.005646, allocations: 248.5 kB / 380.8 MB, free: 21.96 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.005782, allocations: 39.05 kB / 380.8 MB, free: 21.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.504e-05/0.005797, allocations: 15.62 kB / 380.8 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.005817, allocations: 4 kB / 380.8 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.005836, allocations: 37.33 kB / 380.9 MB, free: 21.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.005838, allocations: 0 / 380.9 MB, free: 21.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003099/0.006148, allocations: 93.55 kB / 381 MB, free: 21.74 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.006173, allocations: 55.39 kB / 381 MB, free: 21.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.268e-05/0.006256, allocations: 195.8 kB / 381.2 MB, free: 21.47 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.484e-06/0.006263, allocations: 33.7 kB / 381.2 MB, free: 21.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.89e-05/0.006302, allocations: 138.9 kB / 381.4 MB, free: 21.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.006323, allocations: 19.78 kB / 381.4 MB, free: 21.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.006351, allocations: 23.38 kB / 381.4 MB, free: 21.24 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.114e-05/0.006402, allocations: 0.4923 MB / 381.9 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.056e-05/0.006413, allocations: 4 kB / 381.9 MB, free: 20.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.068e-05/0.006423, allocations: 4 kB / 381.9 MB, free: 20.73 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.733e-05/0.006451, allocations: 23.67 kB / 381.9 MB, free: 20.7 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-07/0.006451, allocations: 4 kB / 381.9 MB, free: 20.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.7e-05/0.006518, allocations: 65.52 kB / 382 MB, free: 20.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.006536, allocations: 4 kB / 382 MB, free: 20.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.00654, allocations: 0 / 382 MB, free: 20.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.00655, allocations: 0 / 382 MB, free: 20.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.587e-05/0.006596, allocations: 8.25 kB / 382 MB, free: 20.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.514e-06/0.006599, allocations: 3.938 kB / 382 MB, free: 20.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.733e-05/0.006616, allocations: 11.98 kB / 382 MB, free: 20.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.00662, allocations: 0 / 382 MB, free: 20.6 MB / 314.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 4.373e-05/0.006664, allocations: 160.6 kB / 382.2 MB, free: 20.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.88e-05/0.006682, allocations: 15.89 kB / 382.2 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.485e-05/0.006777, allocations: 66.08 kB / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.006779, allocations: 0 / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.006781, allocations: 0 / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.006785, allocations: 4 kB / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.00696, allocations: 294 kB / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.006962, allocations: 0 / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.057e-05/0.006993, allocations: 11.94 kB / 382.6 MB, free: 20.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.006996, allocations: 4 kB / 382.6 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.007, allocations: 0 / 382.6 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.007001, allocations: 4 kB / 382.6 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.007003, allocations: 3.984 kB / 382.6 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.825e-05/0.007081, allocations: 203.8 kB / 382.8 MB, free: 19.78 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-06/0.007088, allocations: 7.953 kB / 382.8 MB, free: 19.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.0071, allocations: 4.281 kB / 382.8 MB, free: 19.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.785e-05/0.007128, allocations: 0 / 382.8 MB, free: 19.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.335e-05/0.007151, allocations: 7.984 kB / 382.8 MB, free: 19.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.007155, allocations: 0 / 382.8 MB, free: 19.76 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.417e-05/0.007189, allocations: 146.1 kB / 382.9 MB, free: 19.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007189, allocations: 0 / 382.9 MB, free: 19.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001588/0.007348, allocations: 16 kB / 383 MB, free: 19.6 MB / 314.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.0008027/0.008151, allocations: 397.8 kB / 383.3 MB, free: 19.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.309e-05/0.008234, allocations: 27.67 kB / 383.4 MB, free: 19.33 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.008237, allocations: 8 kB / 383.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.62e-05/0.008253, allocations: 15.67 kB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.008467, allocations: 34.64 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002621/0.008729, allocations: 172.5 kB / 383.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.598e-05/0.008755, allocations: 63.2 kB / 383.7 MB, free: 18.99 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.625e-05/0.008781, allocations: 4 kB / 383.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.169e-05/0.008823, allocations: 82.19 kB / 383.7 MB, free: 18.9 MB / 314.7 MB Notification: Performance of SimCode: time 1.202e-06/0.008824, allocations: 4 kB / 383.8 MB, free: 18.9 MB / 314.7 MB Notification: Performance of Templates: time 0.002735/0.01156, allocations: 1.263 MB / 385 MB, free: 17.64 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.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.2552309427410364]