Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000993/0.000993, allocations: 86.58 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001265/0.001265, allocations: 166.5 kB / 24.82 MB, free: 8.328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.004/1.004, allocations: 177 MB / 205.1 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2455/0.2455, allocations: 34.87 MB / 296.6 MB, free: 0.5156 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 379.2 MB, free: 1.852 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.322e-05/2.476e-05, allocations: 6.25 kB / 379.2 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.005525/0.00555, allocations: 1.632 MB / 380.9 MB, free: 204 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.00723, allocations: 1.277 MB / 382.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.659e-05/0.007287, allocations: 0 / 382.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005154/0.007802, allocations: 23.78 kB / 382.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002915/0.008093, allocations: 91.48 kB / 382.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.008319, allocations: 87.72 kB / 382.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.008454, allocations: 79.69 kB / 382.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.786e-05/0.008542, allocations: 7.859 kB / 382.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.73e-05/0.008609, allocations: 35.91 kB / 382.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.008712, allocations: 23.91 kB / 382.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.008728, allocations: 4 kB / 382.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.008882, allocations: 91.88 kB / 382.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.373e-05/0.008925, allocations: 15.92 kB / 382.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.008951, allocations: 11.98 kB / 382.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.009172, allocations: 135.5 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.009176, allocations: 4 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.009177, allocations: 4 kB / 382.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.009182, allocations: 0 / 382.8 MB, free: 14.31 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.0004212/0.009603, allocations: 424 kB / 383.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.009642, allocations: 8.031 kB / 383.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.009676, allocations: 12.83 kB / 383.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.009813, allocations: 144.5 kB / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-06/0.009822, allocations: 384 / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.00984, allocations: 4.375 kB / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.009966, allocations: 100 kB / 383.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.009974, allocations: 4.188 kB / 383.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.902e-06/0.009981, allocations: 384 / 383.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.009986, allocations: 384 / 383.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.525e-05/0.01001, allocations: 15.92 kB / 383.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002445/0.01026, allocations: 248.4 kB / 383.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.01039, allocations: 47.03 kB / 383.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.895e-05/0.01041, allocations: 15.69 kB / 383.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.01043, allocations: 0 / 383.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.01045, allocations: 37.39 kB / 383.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.01045, allocations: 0 / 383.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002934/0.01075, allocations: 97.52 kB / 383.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.01078, allocations: 81.05 kB / 384 MB, free: 12.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.75e-05/0.01087, allocations: 189.9 kB / 384.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.01088, allocations: 29.7 kB / 384.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.838e-05/0.01093, allocations: 146.8 kB / 384.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.01095, allocations: 15.84 kB / 384.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/0.01098, allocations: 23.38 kB / 384.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.01108, allocations: 0.4884 MB / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.118e-05/0.01109, allocations: 4 kB / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.177e-05/0.01112, allocations: 57.12 kB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.712e-05/0.01116, allocations: 27.7 kB / 384.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.01116, allocations: 0 / 384.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.81e-05/0.01123, allocations: 61.58 kB / 385 MB, free: 11.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.01124, allocations: 7.938 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.01124, allocations: 0 / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.01125, allocations: 0 / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.375e-05/0.0113, allocations: 11.98 kB / 385 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-06/0.0113, allocations: 0 / 385 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.914e-05/0.01132, allocations: 4 kB / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.01132, allocations: 3.938 kB / 385 MB, free: 11.8 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.342e-05/0.01139, allocations: 164.6 kB / 385.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/0.01141, allocations: 7.953 kB / 385.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.563e-05/0.0115, allocations: 70.02 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.0115, allocations: 0 / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.0115, allocations: 4 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.01151, allocations: 0 / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.01171, allocations: 290.1 kB / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01171, allocations: 320 / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.302e-05/0.01175, allocations: 12 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.01175, allocations: 8.219 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.01175, allocations: 4 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01176, allocations: 4 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.01176, allocations: 0 / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.541e-05/0.01185, allocations: 211.8 kB / 385.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.069e-05/0.01186, allocations: 15.88 kB / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-06/0.01187, allocations: 0 / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.239e-05/0.01191, allocations: 4 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/0.01193, allocations: 7.984 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.01193, allocations: 4 kB / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.555e-05/0.01198, allocations: 138.3 kB / 385.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01198, allocations: 4 kB / 386 MB, free: 10.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001964/0.01217, allocations: 39.86 kB / 386 MB, free: 10.77 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.0009352/0.01311, allocations: 487.5 kB / 386.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.699e-05/0.01319, allocations: 27.62 kB / 386.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01319, allocations: 4 kB / 386.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.021e-05/0.01321, allocations: 19.67 kB / 386.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.0134, allocations: 15.98 kB / 386.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002644/0.01367, allocations: 177.9 kB / 386.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.254e-05/0.0137, allocations: 59.34 kB / 386.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.608e-05/0.01374, allocations: 11.94 kB / 386.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.55e-05/0.0138, allocations: 90.17 kB / 386.9 MB, free: 9.969 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.0138, allocations: 4 kB / 386.9 MB, free: 9.965 MB / 362.7 MB Notification: Performance of Templates: time 0.003394/0.0172, allocations: 2.016 MB / 388.9 MB, free: 7.965 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.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.9510433659888804]