Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.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.0009394/0.0009394, allocations: 77.97 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.0009676/0.0009676, allocations: 169 kB / 24.82 MB, free: 9.266 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.9411/0.9411, allocations: 177.1 MB / 205.3 MB, free: 5.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.2325/0.2325, allocations: 32.8 MB / 294.6 MB, free: 1.254 MB / 266.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,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.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 376.5 MB, free: 4.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.24e-05/1.383e-05, allocations: 5.125 kB / 376.5 MB, free: 4.414 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.001804/0.001818, allocations: 1.642 MB / 378.1 MB, free: 2.758 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.002862, allocations: 1.278 MB / 379.4 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.814e-05/0.00291, allocations: 0 / 379.4 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001701/0.00308, allocations: 19.84 kB / 379.4 MB, free: 1.453 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.003311, allocations: 95.48 kB / 379.5 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001768/0.003488, allocations: 91.64 kB / 379.6 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.003601, allocations: 71.77 kB / 379.7 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.186e-05/0.003673, allocations: 8 kB / 379.7 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.322e-05/0.003726, allocations: 31.91 kB / 379.7 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.78e-05/0.003804, allocations: 23.91 kB / 379.7 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.003816, allocations: 4 kB / 379.7 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.003926, allocations: 95.81 kB / 379.8 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.145e-05/0.003958, allocations: 15.92 kB / 379.8 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.003984, allocations: 19.92 kB / 379.9 MB, free: 1.004 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.004139, allocations: 127.6 kB / 380 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.283e-06/0.00414, allocations: 3.938 kB / 380 MB, free: 0.875 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004141, allocations: 0 / 380 MB, free: 0.875 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.806e-06/0.004144, allocations: 4 kB / 380 MB, free: 0.8711 MB / 346.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.0003155/0.004459, allocations: 427.9 kB / 380.4 MB, free: 428 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.004488, allocations: 8.031 kB / 380.4 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.52e-05/0.004513, allocations: 8.891 kB / 380.4 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.004623, allocations: 140.5 kB / 380.6 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-06/0.00463, allocations: 384 / 380.6 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.004644, allocations: 4.375 kB / 380.6 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.898e-05/0.004743, allocations: 104 kB / 380.7 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.004751, allocations: 192 / 380.7 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.004758, allocations: 4.125 kB / 380.7 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.004762, allocations: 0 / 380.7 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.009e-05/0.004782, allocations: 11.98 kB / 380.7 MB, free: 96 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002078/0.00499, allocations: 248.6 kB / 380.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.005101, allocations: 46.98 kB / 381 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.426e-05/0.005115, allocations: 19.67 kB / 381 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.005131, allocations: 0 / 381 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.005151, allocations: 49.22 kB / 381.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.005152, allocations: 0 / 381.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002197/0.005372, allocations: 85.5 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.0054, allocations: 77.11 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.4e-05/0.005494, allocations: 191.9 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.005505, allocations: 29.7 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.005553, allocations: 146.8 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.005568, allocations: 11.84 kB / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.005597, allocations: 27.38 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.005722, allocations: 0.4884 MB / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.209e-05/0.005734, allocations: 4 kB / 382.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.421e-05/0.005769, allocations: 61.12 kB / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.16e-05/0.0058, allocations: 27.61 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.005801, allocations: 0 / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.508e-05/0.005876, allocations: 61.52 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.005887, allocations: 8 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.005891, allocations: 0 / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.005902, allocations: 0 / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.744e-05/0.005939, allocations: 11.98 kB / 382.3 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.085e-06/0.005942, allocations: 0 / 382.3 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.056e-05/0.005963, allocations: 4 kB / 382.3 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-06/0.005966, allocations: 4.031 kB / 382.3 MB, free: 14.36 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 6.513e-05/0.006032, allocations: 160.6 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.006053, allocations: 11.89 kB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.436e-05/0.006148, allocations: 66.08 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.006149, allocations: 0 / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.006152, allocations: 4 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.006155, allocations: 0 / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.006361, allocations: 298 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.006363, allocations: 288 / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.109e-05/0.006394, allocations: 12.31 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.006395, allocations: 4 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.006401, allocations: 8 kB / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.006402, allocations: 0 / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.006403, allocations: 0 / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.425e-05/0.006497, allocations: 211.8 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.398e-06/0.006506, allocations: 11.94 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.497e-06/0.006516, allocations: 0 / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.316e-05/0.006549, allocations: 4 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.883e-05/0.006568, allocations: 7.984 kB / 383.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.00657, allocations: 0 / 383.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.812e-05/0.006618, allocations: 144.8 kB / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006618, allocations: 4 kB / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000186/0.006805, allocations: 39.86 kB / 383.2 MB, free: 13.33 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.0008865/0.007691, allocations: 493.2 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.486e-05/0.007756, allocations: 23.69 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.007757, allocations: 0 / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.835e-05/0.007775, allocations: 23.61 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.007955, allocations: 27.8 kB / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002192/0.008174, allocations: 165.9 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.233e-05/0.008206, allocations: 59.34 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.207e-05/0.008238, allocations: 11.98 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.29e-05/0.008301, allocations: 94.17 kB / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.008302, allocations: 0 / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of Templates: time 0.003045/0.01135, allocations: 2.025 MB / 386.1 MB, free: 10.55 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.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: 2.8457360761240125]