Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.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.001522/0.001522, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001699/0.001699, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.18/1.18, allocations: 177 MB / 204.8 MB, free: 5.613 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.2785/0.2785, allocations: 34.86 MB / 296.3 MB, free: 0.5469 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.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.946e-06/2.946e-06, allocations: 0 / 378.9 MB, free: 2.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.696e-05/3.991e-05, allocations: 2.875 kB / 378.9 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003675/0.003715, allocations: 1.768 MB / 380.6 MB, free: 232 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.005625, allocations: 1.012 MB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.005753, allocations: 0 / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004466/0.0062, allocations: 51.64 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004876/0.006688, allocations: 95.55 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003566/0.007044, allocations: 83.59 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002469/0.007291, allocations: 111.6 kB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.007409, allocations: 4 kB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.007528, allocations: 51.83 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.756e-05/0.007625, allocations: 31.84 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.007646, allocations: 4 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.007784, allocations: 43.92 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.94e-05/0.007853, allocations: 23.92 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.577e-05/0.007909, allocations: 23.92 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.008173, allocations: 111.5 kB / 382.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.008177, allocations: 0 / 382.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.008178, allocations: 0 / 382.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.008184, allocations: 0 / 382.3 MB, free: 14.58 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005809/0.008765, allocations: 451.8 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.008808, allocations: 12.03 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.337e-05/0.008871, allocations: 8.891 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.009136, allocations: 160.9 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.009162, allocations: 384 / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.009197, allocations: 4.375 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.009375, allocations: 66.88 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.009387, allocations: 4.188 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.009398, allocations: 384 / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.009409, allocations: 7.938 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.575e-05/0.009455, allocations: 7.984 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.009882, allocations: 287.8 kB / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.01008, allocations: 55.11 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.916e-05/0.01012, allocations: 15.67 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.01014, allocations: 8 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.01028, allocations: 72.98 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.01029, allocations: 0 / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005111/0.0108, allocations: 157.3 kB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.01083, allocations: 55.34 kB / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.011, allocations: 237.9 kB / 383.8 MB, free: 12.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.01102, allocations: 25.7 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.919e-05/0.01109, allocations: 154.8 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.01113, allocations: 23.8 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/0.01118, allocations: 35.36 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.01131, allocations: 0.4962 MB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.015e-05/0.01135, allocations: 15.98 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.699e-05/0.0114, allocations: 35.31 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.866e-05/0.01148, allocations: 51.34 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.01148, allocations: 0 / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001559/0.01163, allocations: 89.52 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.01165, allocations: 8 kB / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01166, allocations: 0 / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.01167, allocations: 0 / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.906e-05/0.01177, allocations: 24.02 kB / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.01178, allocations: 0 / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.448e-05/0.01182, allocations: 7.953 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.01183, allocations: 4 kB / 384.8 MB, free: 11.82 MB / 362.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 9.629e-05/0.01193, allocations: 164.5 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.01196, allocations: 19.88 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002012/0.01216, allocations: 103.1 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.01216, allocations: 4 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.01217, allocations: 0 / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.01217, allocations: 4.359 kB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00038/0.01255, allocations: 396.9 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.01256, allocations: 4 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.382e-05/0.0126, allocations: 16 kB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.0126, allocations: 0 / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.01261, allocations: 3.984 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.01262, allocations: 4 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01262, allocations: 0 / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/0.01282, allocations: 255.4 kB / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.762e-05/0.01283, allocations: 11.91 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.01286, allocations: 4.031 kB / 385.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.669e-05/0.01292, allocations: 8 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.01296, allocations: 11.92 kB / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.01298, allocations: 4 kB / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001133/0.01309, allocations: 184.2 kB / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01309, allocations: 0 / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002721/0.01337, allocations: 23.94 kB / 386 MB, free: 10.54 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: 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.001138/0.0145, allocations: 428.4 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001692/0.01467, allocations: 67.53 kB / 386.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01467, allocations: 0 / 386.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.918e-05/0.01472, allocations: 27.67 kB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.01505, allocations: 26.33 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004509/0.0155, allocations: 233.8 kB / 386.8 MB, free: 9.855 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.699e-05/0.01555, allocations: 71.33 kB / 386.8 MB, free: 9.766 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.449e-05/0.01561, allocations: 21.27 kB / 386.8 MB, free: 9.742 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.01565, allocations: 20.62 kB / 386.9 MB, free: 9.723 MB / 362.7 MB Notification: Performance of SimCode: time 8.71e-07/0.01565, allocations: 0 / 386.9 MB, free: 9.723 MB / 362.7 MB Notification: Performance of Templates: time 0.004764/0.02041, allocations: 1.864 MB / 388.7 MB, free: 7.883 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.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.5184461139142513]