Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.001783/0.001783, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001757/0.001757, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.522/1.522, allocations: 230.5 MB / 257.4 MB, free: 7.797 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.2467/0.2467, allocations: 46.95 MB / 360.8 MB, free: 3.934 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002425/0.002425, allocations: 91.8 kB / 0.4967 GB, free: 6.988 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.4004, allocations: 66.08 MB / 0.5612 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003801/0.4042, allocations: 1.894 MB / 0.5631 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.4062, allocations: 1.018 MB / 0.5641 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.4063, allocations: 3.938 kB / 0.5641 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003305/0.4066, allocations: 43.7 kB / 0.5641 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003378/0.407, allocations: 103.5 kB / 0.5642 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.4072, allocations: 91.7 kB / 0.5643 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.4074, allocations: 147.5 kB / 0.5644 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.4076, allocations: 28.34 kB / 0.5645 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.863e-05/0.4077, allocations: 59.7 kB / 0.5645 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.4078, allocations: 51.72 kB / 0.5646 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.4078, allocations: 8 kB / 0.5646 GB, free: 496 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.4079, allocations: 55.91 kB / 0.5646 GB, free: 440 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.963e-05/0.408, allocations: 23.86 kB / 0.5647 GB, free: 416 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.299e-05/0.4081, allocations: 39.73 kB / 0.5647 GB, free: 376 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.4084, allocations: 155 kB / 0.5649 GB, free: 224 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4084, allocations: 0 / 0.5649 GB, free: 224 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4084, allocations: 0 / 0.5649 GB, free: 224 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.311e-06/0.4084, allocations: 0 / 0.5649 GB, free: 224 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007477/0.4091, allocations: 423 kB / 0.5653 GB, free: 15.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.4091, allocations: 8.031 kB / 0.5653 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.948e-05/0.4092, allocations: 16.84 kB / 0.5653 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003683/0.4096, allocations: 171 kB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.4096, allocations: 4.375 kB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.4096, allocations: 8.375 kB / 0.5655 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.4099, allocations: 140.1 kB / 0.5656 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.4099, allocations: 0 / 0.5656 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.4099, allocations: 7.938 kB / 0.5656 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.4099, allocations: 8 kB / 0.5656 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.4101, allocations: 55.89 kB / 0.5657 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005775/0.4107, allocations: 436.8 kB / 0.5661 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000342/0.411, allocations: 90.59 kB / 0.5662 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.819e-05/0.4111, allocations: 40.83 kB / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.4111, allocations: 0 / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.4113, allocations: 109.1 kB / 0.5663 GB, free: 14.58 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.4113, allocations: 0 / 0.5663 GB, free: 14.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004117/0.4117, allocations: 145.8 kB / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.4118, allocations: 59.34 kB / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.412, allocations: 211.1 kB / 0.5667 GB, free: 14.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.412, allocations: 25.8 kB / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.715e-05/0.4121, allocations: 124 kB / 0.5668 GB, free: 13.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.4122, allocations: 31.73 kB / 0.5669 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-05/0.4122, allocations: 33.72 kB / 0.5669 GB, free: 13.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.4124, allocations: 334.8 kB / 0.5672 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.525e-05/0.4125, allocations: 23.98 kB / 0.5672 GB, free: 13.56 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.4126, allocations: 64.27 kB / 0.5673 GB, free: 13.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.4128, allocations: 100.2 kB / 0.5674 GB, free: 13.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4128, allocations: 0 / 0.5674 GB, free: 13.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000265/0.413, allocations: 141.4 kB / 0.5675 GB, free: 13.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.4131, allocations: 4 kB / 0.5675 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4131, allocations: 0 / 0.5675 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.4131, allocations: 7.938 kB / 0.5675 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.4132, allocations: 27.98 kB / 0.5676 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.4132, allocations: 0 / 0.5676 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.405e-05/0.4133, allocations: 7.953 kB / 0.5676 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.4133, allocations: 16.05 kB / 0.5676 GB, free: 13.16 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001255/0.4134, allocations: 137.7 kB / 0.5677 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.4134, allocations: 11.91 kB / 0.5677 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/0.4137, allocations: 135 kB / 0.5679 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.4137, allocations: 0 / 0.5679 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4137, allocations: 192 / 0.5679 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.4137, allocations: 4 kB / 0.5679 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.4139, allocations: 157.1 kB / 0.568 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.4139, allocations: 4 kB / 0.568 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.666e-05/0.414, allocations: 15.98 kB / 0.568 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.414, allocations: 4 kB / 0.568 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.414, allocations: 0 / 0.568 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.414, allocations: 0 / 0.568 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.414, allocations: 0 / 0.568 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003874/0.4144, allocations: 196.8 kB / 0.5682 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.773e-05/0.4144, allocations: 15.94 kB / 0.5682 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.4144, allocations: 4 kB / 0.5683 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.146e-05/0.4145, allocations: 7.984 kB / 0.5683 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.4145, allocations: 12.05 kB / 0.5683 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.4146, allocations: 4 kB / 0.5683 GB, free: 12.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001336/0.4147, allocations: 147.2 kB / 0.5684 GB, free: 12.26 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4147, allocations: 0 / 0.5684 GB, free: 12.26 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002356/0.4149, allocations: 31.92 kB / 0.5684 GB, free: 12.23 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001661/0.4166, allocations: 433.3 kB / 0.5689 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002662/0.4168, allocations: 80.08 kB / 0.5689 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4168, allocations: 4.062 kB / 0.5689 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.417, allocations: 40.11 kB / 0.569 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.4173, allocations: 46.7 kB / 0.569 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005955/0.4179, allocations: 275.4 kB / 0.5693 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.418, allocations: 105.8 kB / 0.5694 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.587e-05/0.4181, allocations: 17.42 kB / 0.5694 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.548e-05/0.4181, allocations: 19.42 kB / 0.5694 GB, free: 11.32 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4181, allocations: 0 / 0.5694 GB, free: 11.32 MB / 414.1 MB Notification: Performance of Templates: time 0.006303/0.4244, allocations: 2.119 MB / 0.5715 GB, free: 9.223 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.347433682531118]