Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.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.001704/0.001704, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001941/0.001941, allocations: 169.3 kB / 24.24 MB, free: 316 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.102/1.102, allocations: 158.6 MB / 186 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1558/0.1558, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 347.7 MB, free: 9.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.201e-05/3.384e-05, allocations: 12.16 kB / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.002568/0.002602, allocations: 1.599 MB / 349.3 MB, free: 8.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.003916, allocations: 1.044 MB / 350.3 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.074e-05/0.003987, allocations: 0 / 350.3 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002724/0.004259, allocations: 31.78 kB / 350.4 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002595/0.004519, allocations: 47.7 kB / 350.4 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.004746, allocations: 67.72 kB / 350.5 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00015/0.004896, allocations: 59.84 kB / 350.5 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.005007, allocations: 7.984 kB / 350.5 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.351e-05/0.00507, allocations: 35.91 kB / 350.6 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.939e-05/0.00517, allocations: 15.92 kB / 350.6 MB, free: 6.848 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.005189, allocations: 4 kB / 350.6 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.005292, allocations: 47.91 kB / 350.6 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.222e-05/0.005344, allocations: 11.98 kB / 350.6 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.005373, allocations: 15.88 kB / 350.7 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.005564, allocations: 83.72 kB / 350.7 MB, free: 6.688 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.005567, allocations: 0 / 350.7 MB, free: 6.688 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.005569, allocations: 0 / 350.7 MB, free: 6.688 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.005574, allocations: 0 / 350.7 MB, free: 6.688 MB / 282.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.0003935/0.005968, allocations: 408.2 kB / 351.1 MB, free: 6.254 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.006011, allocations: 12.03 kB / 351.2 MB, free: 6.242 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.256e-05/0.006063, allocations: 4.938 kB / 351.2 MB, free: 6.238 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.006222, allocations: 147.4 kB / 351.3 MB, free: 6.07 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.006233, allocations: 384 / 351.3 MB, free: 6.07 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.006256, allocations: 384 / 351.3 MB, free: 6.07 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.00641, allocations: 100 kB / 351.4 MB, free: 5.949 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.006421, allocations: 192 / 351.4 MB, free: 5.949 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.006432, allocations: 4.125 kB / 351.4 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.006441, allocations: 0 / 351.4 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.539e-05/0.006476, allocations: 15.98 kB / 351.4 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002725/0.006749, allocations: 267.8 kB / 351.7 MB, free: 5.633 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.006928, allocations: 47.05 kB / 351.7 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.23e-05/0.006951, allocations: 7.688 kB / 351.7 MB, free: 5.562 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.00697, allocations: 7.938 kB / 351.7 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.00699, allocations: 33.39 kB / 351.8 MB, free: 5.512 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.006991, allocations: 0 / 351.8 MB, free: 5.512 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003848/0.007376, allocations: 97.56 kB / 351.9 MB, free: 5.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.007408, allocations: 81.09 kB / 352 MB, free: 5.312 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.007512, allocations: 185.9 kB / 352.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.404e-06/0.007519, allocations: 25.7 kB / 352.2 MB, free: 5.082 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.437e-05/0.007554, allocations: 142.9 kB / 352.3 MB, free: 4.938 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.007574, allocations: 11.84 kB / 352.3 MB, free: 4.926 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.00761, allocations: 35.3 kB / 352.3 MB, free: 4.883 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.187e-05/0.007652, allocations: 496.1 kB / 352.8 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/0.007671, allocations: 4 kB / 352.8 MB, free: 4.383 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.171e-05/0.007703, allocations: 53.25 kB / 352.9 MB, free: 4.316 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.198e-05/0.007745, allocations: 27.69 kB / 352.9 MB, free: 4.285 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.007746, allocations: 0 / 352.9 MB, free: 4.285 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.773e-05/0.007844, allocations: 61.58 kB / 353 MB, free: 4.219 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.007861, allocations: 4 kB / 353 MB, free: 4.215 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.007867, allocations: 8.25 kB / 353 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.007884, allocations: 0 / 353 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.834e-05/0.007942, allocations: 11.94 kB / 353 MB, free: 4.195 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.007949, allocations: 7.984 kB / 353 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.578e-05/0.007975, allocations: 0 / 353 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.007982, allocations: 4 kB / 353 MB, free: 4.184 MB / 282.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 5.209e-05/0.008034, allocations: 156.6 kB / 353.2 MB, free: 4.02 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.008064, allocations: 15.88 kB / 353.2 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.008185, allocations: 65.8 kB / 353.2 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.008187, allocations: 0 / 353.2 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.008191, allocations: 4 kB / 353.2 MB, free: 3.934 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.008194, allocations: 0 / 353.2 MB, free: 3.934 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.00843, allocations: 317.4 kB / 353.6 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.008432, allocations: 0 / 353.6 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.387e-05/0.008476, allocations: 12.17 kB / 353.6 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.008478, allocations: 0 / 353.6 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.008488, allocations: 8 kB / 353.6 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.00849, allocations: 0 / 353.6 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.008491, allocations: 0 / 353.6 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.115e-05/0.008582, allocations: 211.8 kB / 353.8 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-06/0.008589, allocations: 3.953 kB / 353.8 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.008603, allocations: 8 kB / 353.8 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.213e-05/0.008656, allocations: 4 kB / 353.8 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.008696, allocations: 7.984 kB / 353.8 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.008704, allocations: 0 / 353.8 MB, free: 3.312 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.8e-05/0.008752, allocations: 147.2 kB / 353.9 MB, free: 3.168 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008752, allocations: 0 / 353.9 MB, free: 3.168 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002848/0.009036, allocations: 23.92 kB / 354 MB, free: 3.145 MB / 282.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.001248/0.01028, allocations: 431.6 kB / 354.4 MB, free: 2.816 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001205/0.0104, allocations: 31.62 kB / 354.4 MB, free: 2.781 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.01041, allocations: 4 kB / 354.4 MB, free: 2.777 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.418e-05/0.01043, allocations: 19.67 kB / 354.4 MB, free: 2.754 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.01075, allocations: 24.17 kB / 354.5 MB, free: 2.73 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/0.01107, allocations: 154 kB / 354.6 MB, free: 2.551 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.16e-05/0.0111, allocations: 63.34 kB / 354.7 MB, free: 2.469 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.32e-05/0.01114, allocations: 4 kB / 354.7 MB, free: 2.465 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.01118, allocations: 20.48 kB / 354.7 MB, free: 2.445 MB / 282.7 MB Notification: Performance of SimCode: time 8.71e-07/0.01118, allocations: 4 kB / 354.7 MB, free: 2.441 MB / 282.7 MB Notification: Performance of Templates: time 0.003776/0.01496, allocations: 1.428 MB / 356.1 MB, free: 1.02 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.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.343700419878587]