Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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.0009319/0.0009319, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001057/0.001057, allocations: 164.2 kB / 24.91 MB, free: 8.723 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.073/1.073, allocations: 177 MB / 205.2 MB, free: 5.473 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.2911/0.2911, allocations: 34.86 MB / 296.6 MB, free: 452 kB / 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.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 326 MB, free: 7.016 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.84e-05, allocations: 6.25 kB / 326 MB, free: 7.008 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002822/0.00285, allocations: 1.801 MB / 327.8 MB, free: 5.195 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.004294, allocations: 1.01 MB / 328.9 MB, free: 4.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.249e-05/0.004386, allocations: 0 / 328.9 MB, free: 4.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003211/0.004707, allocations: 39.75 kB / 328.9 MB, free: 4.141 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003378/0.005045, allocations: 99.42 kB / 329 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.005306, allocations: 79.66 kB / 329.1 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.005507, allocations: 112.3 kB / 329.2 MB, free: 3.855 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.005607, allocations: 15.97 kB / 329.2 MB, free: 3.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.005708, allocations: 51.89 kB / 329.2 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.496e-05/0.005793, allocations: 19.92 kB / 329.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.005809, allocations: 4 kB / 329.3 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.005915, allocations: 51.84 kB / 329.3 MB, free: 3.715 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.33e-05/0.005968, allocations: 23.86 kB / 329.3 MB, free: 3.691 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.977e-05/0.006008, allocations: 15.94 kB / 329.4 MB, free: 3.676 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.006207, allocations: 103.6 kB / 329.5 MB, free: 3.574 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.006211, allocations: 4 kB / 329.5 MB, free: 3.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.006213, allocations: 0 / 329.5 MB, free: 3.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.006219, allocations: 0 / 329.5 MB, free: 3.57 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004808/0.006699, allocations: 317.5 kB / 329.8 MB, free: 3.238 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.006739, allocations: 12.03 kB / 329.8 MB, free: 3.227 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.006778, allocations: 8.922 kB / 329.8 MB, free: 3.219 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.006986, allocations: 154.2 kB / 329.9 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.007008, allocations: 384 / 329.9 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.00703, allocations: 8.375 kB / 330 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.007167, allocations: 65.73 kB / 330 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.007179, allocations: 4.188 kB / 330 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.007188, allocations: 384 / 330 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.007197, allocations: 3.938 kB / 330 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.991e-05/0.007227, allocations: 12 kB / 330 MB, free: 2.941 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002597/0.007486, allocations: 169.9 kB / 330.2 MB, free: 2.758 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.007603, allocations: 81.3 kB / 330.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.462e-05/0.007628, allocations: 12.92 kB / 330.3 MB, free: 2.652 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.007644, allocations: 0 / 330.3 MB, free: 2.652 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001237/0.007767, allocations: 66.19 kB / 330.4 MB, free: 2.574 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.007769, allocations: 4 kB / 330.4 MB, free: 2.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003657/0.008135, allocations: 113.8 kB / 330.5 MB, free: 2.453 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.008174, allocations: 55.39 kB / 330.5 MB, free: 2.387 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.008299, allocations: 181.3 kB / 330.7 MB, free: 2.195 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.008321, allocations: 29.7 kB / 330.7 MB, free: 2.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.678e-05/0.008358, allocations: 96.11 kB / 330.8 MB, free: 2.062 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.008391, allocations: 23.78 kB / 330.9 MB, free: 2.039 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.008426, allocations: 25.7 kB / 330.9 MB, free: 2.008 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.008527, allocations: 330.7 kB / 331.2 MB, free: 1.676 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.419e-05/0.008551, allocations: 10.89 kB / 331.2 MB, free: 1.664 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.26e-05/0.008584, allocations: 29.7 kB / 331.2 MB, free: 1.629 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.206e-05/0.008636, allocations: 36.52 kB / 331.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.008637, allocations: 0 / 331.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001221/0.008759, allocations: 76.38 kB / 331.4 MB, free: 1.504 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.008782, allocations: 11.94 kB / 331.4 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.008789, allocations: 0 / 331.4 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.008805, allocations: 0 / 331.4 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.714e-05/0.008892, allocations: 15.98 kB / 331.4 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.008905, allocations: 7.938 kB / 331.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.49e-05/0.00894, allocations: 8.031 kB / 331.4 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.008951, allocations: 8 kB / 331.4 MB, free: 1.453 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.361e-05/0.009034, allocations: 112.7 kB / 331.5 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.00905, allocations: 11.92 kB / 331.5 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.009184, allocations: 79.81 kB / 331.6 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.009188, allocations: 4 kB / 331.6 MB, free: 1.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.00919, allocations: 0 / 331.6 MB, free: 1.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.009193, allocations: 0 / 331.6 MB, free: 1.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/0.009478, allocations: 295.6 kB / 331.9 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.009486, allocations: 11.97 kB / 331.9 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.454e-05/0.00952, allocations: 8 kB / 331.9 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.009524, allocations: 0 / 331.9 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.009533, allocations: 3.984 kB / 331.9 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.009537, allocations: 4 kB / 331.9 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.009539, allocations: 0 / 331.9 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.009696, allocations: 213.9 kB / 332.1 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.147e-05/0.009717, allocations: 11.89 kB / 332.1 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.009738, allocations: 4 kB / 332.1 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.642e-05/0.009785, allocations: 3.984 kB / 332.2 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.009817, allocations: 12 kB / 332.2 MB, free: 0.625 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.009833, allocations: 3.984 kB / 332.2 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.652e-05/0.00988, allocations: 47.64 kB / 332.2 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00988, allocations: 0 / 332.2 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001715/0.01005, allocations: 31.92 kB / 332.2 MB, free: 0.5391 MB / 298.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001552/0.0116, allocations: 0.568 MB / 332.8 MB, free: 252 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001718/0.01178, allocations: 32.84 kB / 332.8 MB, free: 216 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-05/0.0118, allocations: 4 kB / 332.8 MB, free: 212 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.408e-05/0.01184, allocations: 28.78 kB / 332.9 MB, free: 180 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.0121, allocations: 30.92 kB / 332.9 MB, free: 152 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004836/0.01258, allocations: 216.1 kB / 333.1 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.401e-05/0.01263, allocations: 75.34 kB / 333.2 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.473e-05/0.01268, allocations: 17.27 kB / 333.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.808e-05/0.01277, allocations: 71.3 kB / 333.3 MB, free: 15.72 MB / 314.7 MB Notification: Performance of SimCode: time 1.353e-06/0.01277, allocations: 0 / 333.3 MB, free: 15.72 MB / 314.7 MB Notification: Performance of Templates: time 0.005065/0.01783, allocations: 2.013 MB / 335.3 MB, free: 13.75 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.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.129114355891943]