Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.001526/0.001526, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001592/0.001592, allocations: 204.9 kB / 23.72 MB, free: 4.391 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.463/1.463, allocations: 230.5 MB / 257.4 MB, free: 7.77 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.2513/0.2513, allocations: 46.94 MB / 360.8 MB, free: 3.91 MB / 286.1 MB " [Timeout remaining time 179] 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002433/0.002433, allocations: 79.88 kB / 0.4967 GB, free: 6.969 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3814, allocations: 66.08 MB / 0.5612 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003788/0.3852, allocations: 1.675 MB / 0.5629 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.387, allocations: 0.9399 MB / 0.5638 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.915e-05/0.3871, allocations: 7.938 kB / 0.5638 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003511/0.3874, allocations: 79.77 kB / 0.5639 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003633/0.3878, allocations: 119.5 kB / 0.564 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/0.388, allocations: 75.72 kB / 0.5641 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.3882, allocations: 119.5 kB / 0.5642 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.396e-05/0.3882, allocations: 4.234 kB / 0.5642 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.252e-05/0.3883, allocations: 47.78 kB / 0.5642 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.3885, allocations: 67.75 kB / 0.5643 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.3885, allocations: 0 / 0.5643 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.211e-05/0.3886, allocations: 35.98 kB / 0.5643 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.341e-05/0.3886, allocations: 27.84 kB / 0.5643 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.47e-05/0.3887, allocations: 27.8 kB / 0.5644 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.3889, allocations: 106 kB / 0.5645 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3889, allocations: 0 / 0.5645 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3889, allocations: 0 / 0.5645 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.3889, allocations: 0 / 0.5645 GB, free: 0.6055 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006408/0.3896, allocations: 353.5 kB / 0.5648 GB, free: 236 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.3896, allocations: 12.03 kB / 0.5648 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.553e-05/0.3897, allocations: 16.84 kB / 0.5648 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.39, allocations: 158.3 kB / 0.565 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.39, allocations: 8.297 kB / 0.565 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.39, allocations: 384 / 0.565 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.3902, allocations: 53.98 kB / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.3902, allocations: 0 / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.3902, allocations: 0 / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3902, allocations: 0 / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.159e-05/0.3903, allocations: 19.98 kB / 0.5651 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.3905, allocations: 129.3 kB / 0.5652 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.3907, allocations: 62.55 kB / 0.5653 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.499e-05/0.3907, allocations: 16.86 kB / 0.5653 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.3907, allocations: 0 / 0.5653 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.3909, allocations: 67.38 kB / 0.5653 GB, free: 15.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.133e-06/0.3909, allocations: 0 / 0.5653 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000322/0.3912, allocations: 105.5 kB / 0.5654 GB, free: 15.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.3913, allocations: 55.34 kB / 0.5655 GB, free: 15.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/0.3916, allocations: 223.5 kB / 0.5657 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.3916, allocations: 29.7 kB / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.3917, allocations: 112.1 kB / 0.5658 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.3917, allocations: 3.953 kB / 0.5658 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.663e-05/0.3918, allocations: 25.7 kB / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.392, allocations: 322.8 kB / 0.5662 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.739e-05/0.392, allocations: 16 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.722e-05/0.3921, allocations: 29.7 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.3922, allocations: 41.7 kB / 0.5663 GB, free: 14.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3922, allocations: 0 / 0.5663 GB, free: 14.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001638/0.3924, allocations: 97.78 kB / 0.5663 GB, free: 14.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.3924, allocations: 19.86 kB / 0.5664 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3924, allocations: 0 / 0.5664 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3924, allocations: 0 / 0.5664 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.17e-05/0.3925, allocations: 8 kB / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.3925, allocations: 7.938 kB / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.715e-05/0.3926, allocations: 7.938 kB / 0.5664 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.3926, allocations: 4 kB / 0.5664 GB, free: 14.45 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 (7): * Single equations (assignments): 7 * 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.0001302/0.3927, allocations: 128.1 kB / 0.5665 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.3927, allocations: 19.88 kB / 0.5665 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.393, allocations: 98.75 kB / 0.5666 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.393, allocations: 0 / 0.5666 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.393, allocations: 0 / 0.5666 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.393, allocations: 0 / 0.5666 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.3931, allocations: 137.3 kB / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3931, allocations: 0 / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.054e-05/0.3931, allocations: 11.92 kB / 0.5668 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.3932, allocations: 4 kB / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.3932, allocations: 3.938 kB / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3932, allocations: 0 / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3932, allocations: 4.156 kB / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.3934, allocations: 117 kB / 0.5669 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.3934, allocations: 15.91 kB / 0.5669 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.3934, allocations: 11.92 kB / 0.5669 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.59e-05/0.3935, allocations: 0 / 0.5669 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.3935, allocations: 4 kB / 0.5669 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.3935, allocations: 4 kB / 0.5669 GB, free: 13.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001608/0.3937, allocations: 169.2 kB / 0.5671 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3937, allocations: 0 / 0.5671 GB, free: 13.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002189/0.3939, allocations: 16 kB / 0.5671 GB, free: 13.65 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001725/0.3956, allocations: 445.2 kB / 0.5675 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001758/0.3958, allocations: 43.97 kB / 0.5676 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3958, allocations: 0 / 0.5676 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.653e-05/0.3959, allocations: 27.92 kB / 0.5676 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.3961, allocations: 31.05 kB / 0.5676 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004811/0.3966, allocations: 226.4 kB / 0.5678 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.556e-05/0.3967, allocations: 97.09 kB / 0.5679 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.496e-05/0.3968, allocations: 8.734 kB / 0.5679 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/0.3968, allocations: 15.44 kB / 0.568 GB, free: 12.87 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3968, allocations: 0 / 0.568 GB, free: 12.87 MB / 414.1 MB Notification: Performance of Templates: time 0.005098/0.4019, allocations: 1.703 MB / 0.5696 GB, free: 11.19 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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: 5.3191728834062815]