Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.001223/0.001223, allocations: 77.97 kB / 21.42 MB, free: 3.066 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.004318/0.004318, allocations: 170 kB / 24.82 MB, free: 9.309 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.075/1.075, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.2843/0.2843, allocations: 34.26 MB / 296.1 MB, free: 0.7305 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.CombiTable1Ds.Test31,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.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 378.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.765e-05, allocations: 2.312 kB / 378.5 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.005329/0.005357, allocations: 1.645 MB / 380.2 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009327/0.00629, allocations: 0.5258 MB / 380.7 MB, free: 208 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.296e-05/0.006362, allocations: 0 / 380.7 MB, free: 208 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003205/0.006683, allocations: 131.5 kB / 380.8 MB, free: 76 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003644/0.007047, allocations: 127.5 kB / 381 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.007348, allocations: 91.64 kB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.007562, allocations: 103.7 kB / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.007672, allocations: 11.98 kB / 381.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.007772, allocations: 59.86 kB / 381.2 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.007911, allocations: 83.83 kB / 381.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.00793, allocations: 4 kB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.008041, allocations: 43.92 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.898e-05/0.0081, allocations: 27.92 kB / 381.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.008136, allocations: 23.86 kB / 381.4 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.00834, allocations: 99.59 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.008344, allocations: 0 / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.008345, allocations: 4 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.008349, allocations: 0 / 381.5 MB, free: 15.41 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.0005197/0.008869, allocations: 467.6 kB / 382 MB, free: 14.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.008919, allocations: 12.03 kB / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.745e-05/0.008977, allocations: 20.84 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.009141, allocations: 156.3 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.009151, allocations: 384 / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.00917, allocations: 4.375 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.009283, allocations: 54.95 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.009292, allocations: 4.188 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.009301, allocations: 4.125 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.009306, allocations: 0 / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.665e-05/0.009333, allocations: 11.98 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002928/0.009626, allocations: 284.2 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.223e-05/0.009698, allocations: 35.05 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.8e-05/0.009726, allocations: 15.69 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.009758, allocations: 0 / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.009788, allocations: 41.33 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.00979, allocations: 0 / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005495/0.01034, allocations: 165.4 kB / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.01037, allocations: 51.41 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.01057, allocations: 266.7 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.01058, allocations: 25.7 kB / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.899e-05/0.01067, allocations: 178.8 kB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.0107, allocations: 19.81 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.01075, allocations: 31.36 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.0109, allocations: 0.5117 MB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.983e-05/0.01092, allocations: 8 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.766e-05/0.01094, allocations: 7.984 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.474e-05/0.01098, allocations: 27.69 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01099, allocations: 3.938 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001054/0.01109, allocations: 81.52 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.01111, allocations: 4 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.01112, allocations: 0 / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.01113, allocations: 0 / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.655e-05/0.0112, allocations: 15.98 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.01121, allocations: 4 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.846e-05/0.01124, allocations: 7.938 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.01124, allocations: 4 kB / 384 MB, free: 12.72 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 7.502e-05/0.01132, allocations: 160.5 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.01135, allocations: 15.91 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.01149, allocations: 91.33 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.01149, allocations: 0 / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.01149, allocations: 4 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.0115, allocations: 0 / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003315/0.01183, allocations: 353.7 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01183, allocations: 0 / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.453e-05/0.01188, allocations: 20.02 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.01189, allocations: 4 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.0119, allocations: 4 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.0119, allocations: 0 / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.0119, allocations: 0 / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.01205, allocations: 235.4 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.765e-05/0.01207, allocations: 19.89 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.01208, allocations: 4 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.735e-05/0.01214, allocations: 8 kB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.814e-05/0.01216, allocations: 8.406 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.01217, allocations: 8 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.861e-05/0.01227, allocations: 184.1 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01227, allocations: 0 / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002311/0.0125, allocations: 20 kB / 385.1 MB, free: 11.53 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.001056/0.01356, allocations: 441 kB / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001006/0.01366, allocations: 35.61 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01366, allocations: 0 / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.068e-05/0.01369, allocations: 27.61 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.01397, allocations: 31.05 kB / 385.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003883/0.01436, allocations: 267.5 kB / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.216e-05/0.01441, allocations: 75.33 kB / 385.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.057e-05/0.01445, allocations: 8.719 kB / 386 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.325e-05/0.01452, allocations: 86.19 kB / 386 MB, free: 10.67 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01452, allocations: 4 kB / 386 MB, free: 10.67 MB / 362.7 MB Notification: Performance of Templates: time 0.003723/0.01824, allocations: 1.529 MB / 387.6 MB, free: 9.145 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.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.2139649889431894]