Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.002126/0.002126, allocations: 107.6 kB / 21.19 MB, free: 0.6602 MB / 14.72 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.002574/0.002574, allocations: 213.4 kB / 24.48 MB, free: 3.965 MB / 14.72 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.537/1.537, allocations: 230.5 MB / 258.1 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] 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.2291/0.2291, allocations: 46.96 MB / 361.6 MB, free: 3.914 MB / 286.1 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002484/0.002484, allocations: 83.86 kB / 0.4974 GB, free: 6.969 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3472, allocations: 66.08 MB / 0.562 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.004114/0.3513, allocations: 1.714 MB / 0.5636 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.3534, allocations: 0.9658 MB / 0.5646 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.458e-05/0.3535, allocations: 0 / 0.5646 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003401/0.3538, allocations: 87.7 kB / 0.5647 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003498/0.3542, allocations: 119.5 kB / 0.5648 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.3544, allocations: 79.72 kB / 0.5649 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000199/0.3546, allocations: 115.6 kB / 0.565 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.983e-05/0.3547, allocations: 11.98 kB / 0.565 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.505e-05/0.3548, allocations: 55.77 kB / 0.565 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.3549, allocations: 63.73 kB / 0.5651 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.3549, allocations: 8 kB / 0.5651 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.355, allocations: 43.98 kB / 0.5652 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.599e-05/0.3551, allocations: 23.86 kB / 0.5652 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.441e-05/0.3552, allocations: 39.73 kB / 0.5652 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.3554, allocations: 121.9 kB / 0.5653 GB, free: 496 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3554, allocations: 0 / 0.5653 GB, free: 496 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3554, allocations: 0 / 0.5653 GB, free: 496 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.218e-06/0.3554, allocations: 0 / 0.5653 GB, free: 496 kB / 398.1 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.0005894/0.356, allocations: 353.5 kB / 0.5657 GB, free: 112 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.356, allocations: 11.97 kB / 0.5657 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.3561, allocations: 12.84 kB / 0.5657 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.3564, allocations: 166.2 kB / 0.5658 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.3564, allocations: 4.375 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.3564, allocations: 384 / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.3566, allocations: 61.98 kB / 0.5659 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3566, allocations: 0 / 0.5659 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.3566, allocations: 3.984 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.3566, allocations: 0 / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.711e-05/0.3567, allocations: 19.98 kB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003835/0.3571, allocations: 240.5 kB / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.3573, allocations: 62.61 kB / 0.5662 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.835e-05/0.3573, allocations: 16.86 kB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.3573, allocations: 4 kB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.3575, allocations: 67.38 kB / 0.5663 GB, free: 15.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.3575, allocations: 0 / 0.5663 GB, free: 15.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005856/0.3581, allocations: 189.3 kB / 0.5665 GB, free: 15.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.3581, allocations: 51.41 kB / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.3584, allocations: 231.4 kB / 0.5668 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.3584, allocations: 29.7 kB / 0.5668 GB, free: 14.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.811e-05/0.3585, allocations: 112.1 kB / 0.5669 GB, free: 14.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.3585, allocations: 27.78 kB / 0.5669 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/0.3586, allocations: 21.7 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.3587, allocations: 334.8 kB / 0.5673 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.904e-05/0.3588, allocations: 19.98 kB / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.223e-05/0.3589, allocations: 42.02 kB / 0.5673 GB, free: 14.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.359, allocations: 53.72 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.359, allocations: 0 / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002189/0.3592, allocations: 121.6 kB / 0.5675 GB, free: 14.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.3592, allocations: 4 kB / 0.5675 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3593, allocations: 0 / 0.5675 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3593, allocations: 4 kB / 0.5675 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.38e-05/0.3594, allocations: 19.92 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.3594, allocations: 0 / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.864e-05/0.3594, allocations: 8 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.3594, allocations: 7.938 kB / 0.5675 GB, free: 14.04 MB / 414.1 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 0.0001165/0.3595, allocations: 125.8 kB / 0.5676 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.3596, allocations: 19.91 kB / 0.5677 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002728/0.3598, allocations: 123 kB / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.3598, allocations: 4 kB / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3599, allocations: 0 / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3599, allocations: 3.984 kB / 0.5678 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004773/0.3603, allocations: 346.9 kB / 0.5681 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3603, allocations: 0 / 0.5681 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.393e-05/0.3604, allocations: 11.98 kB / 0.5681 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3604, allocations: 0 / 0.5681 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.3604, allocations: 8 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3604, allocations: 4.031 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.3604, allocations: 3.984 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.3607, allocations: 216.2 kB / 0.5684 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.343e-05/0.3607, allocations: 15.89 kB / 0.5684 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.3607, allocations: 8 kB / 0.5684 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.024e-05/0.3608, allocations: 0 / 0.5684 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.3608, allocations: 16.23 kB / 0.5684 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.3609, allocations: 4 kB / 0.5684 GB, free: 13.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001652/0.361, allocations: 173.1 kB / 0.5686 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.361, allocations: 4 kB / 0.5686 GB, free: 12.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.3613, allocations: 31.88 kB / 0.5686 GB, free: 12.86 MB / 414.1 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.001858/0.3631, allocations: 476.9 kB / 0.5691 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.3633, allocations: 59.91 kB / 0.5691 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3634, allocations: 8 kB / 0.5691 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.208e-05/0.3634, allocations: 31.98 kB / 0.5691 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.3638, allocations: 42.59 kB / 0.5692 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005726/0.3644, allocations: 285 kB / 0.5695 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.3645, allocations: 96.73 kB / 0.5696 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/0.3645, allocations: 15.44 kB / 0.5696 GB, free: 11.98 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3645, allocations: 4.062 kB / 0.5696 GB, free: 11.98 MB / 414.1 MB Notification: Performance of Templates: time 0.004386/0.3689, allocations: 2.036 MB / 0.5716 GB, free: 9.953 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.181927355006337]