Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.001391/0.001391, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001521/0.001521, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.556/1.556, allocations: 230.5 MB / 258.1 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.246/0.246, allocations: 46.95 MB / 361.6 MB, free: 3.93 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002472/0.002472, allocations: 83.88 kB / 0.4974 GB, free: 6.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3979, allocations: 66.08 MB / 0.562 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.004025/0.402, allocations: 1.902 MB / 0.5638 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00211/0.4041, allocations: 1.01 MB / 0.5648 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.4042, allocations: 0 / 0.5648 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003355/0.4045, allocations: 47.64 kB / 0.5649 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003915/0.4049, allocations: 95.55 kB / 0.5649 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.4052, allocations: 103.6 kB / 0.565 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002722/0.4054, allocations: 159.4 kB / 0.5652 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.4056, allocations: 24.39 kB / 0.5652 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.4057, allocations: 51.73 kB / 0.5653 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.4058, allocations: 51.7 kB / 0.5653 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.4058, allocations: 8 kB / 0.5653 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.4059, allocations: 47.97 kB / 0.5654 GB, free: 472 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.495e-05/0.406, allocations: 23.92 kB / 0.5654 GB, free: 448 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.755e-05/0.4061, allocations: 39.73 kB / 0.5654 GB, free: 408 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003315/0.4064, allocations: 159 kB / 0.5656 GB, free: 252 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.4064, allocations: 3.984 kB / 0.5656 GB, free: 248 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4064, allocations: 4 kB / 0.5656 GB, free: 244 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.4064, allocations: 0 / 0.5656 GB, free: 244 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.0008103/0.4073, allocations: 415 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.4073, allocations: 8.031 kB / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.912e-05/0.4074, allocations: 16.84 kB / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004019/0.4078, allocations: 174.9 kB / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.4078, allocations: 8.375 kB / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.4078, allocations: 4.375 kB / 0.5662 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.4081, allocations: 144.3 kB / 0.5663 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.4081, allocations: 0 / 0.5663 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.4081, allocations: 0 / 0.5663 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.4081, allocations: 4 kB / 0.5663 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.4083, allocations: 55.89 kB / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006666/0.409, allocations: 448.7 kB / 0.5668 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003623/0.4093, allocations: 82.66 kB / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.4094, allocations: 44.83 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.4095, allocations: 3.984 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002304/0.4097, allocations: 113 kB / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.4097, allocations: 0 / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004619/0.4101, allocations: 145.8 kB / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.4102, allocations: 51.41 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.4105, allocations: 211.2 kB / 0.5674 GB, free: 14.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.4105, allocations: 33.64 kB / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.4106, allocations: 116.1 kB / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.4106, allocations: 31.73 kB / 0.5676 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.283e-05/0.4107, allocations: 25.72 kB / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.4109, allocations: 338.8 kB / 0.568 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.505e-05/0.411, allocations: 27.98 kB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.4111, allocations: 64.2 kB / 0.568 GB, free: 13.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.4113, allocations: 104.2 kB / 0.5681 GB, free: 13.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4113, allocations: 0 / 0.5681 GB, free: 13.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003117/0.4116, allocations: 141.4 kB / 0.5683 GB, free: 13.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.4117, allocations: 7.938 kB / 0.5683 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.4117, allocations: 0 / 0.5683 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.4117, allocations: 4 kB / 0.5683 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.4118, allocations: 24.11 kB / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.4118, allocations: 7.938 kB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.22e-05/0.4119, allocations: 7.953 kB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.4119, allocations: 7.938 kB / 0.5683 GB, free: 13.19 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.0001418/0.412, allocations: 133.8 kB / 0.5685 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.4121, allocations: 11.91 kB / 0.5685 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003453/0.4124, allocations: 135 kB / 0.5686 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.4124, allocations: 4.188 kB / 0.5686 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.4124, allocations: 0 / 0.5686 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.4124, allocations: 7.938 kB / 0.5686 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.4126, allocations: 153.2 kB / 0.5688 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4126, allocations: 4 kB / 0.5688 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.148e-05/0.4127, allocations: 11.98 kB / 0.5688 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4127, allocations: 3.938 kB / 0.5688 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.4127, allocations: 8 kB / 0.5688 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.4127, allocations: 0 / 0.5688 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4127, allocations: 0 / 0.5688 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004287/0.4131, allocations: 196.8 kB / 0.569 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.726e-05/0.4132, allocations: 16 kB / 0.569 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.4132, allocations: 0 / 0.569 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.334e-05/0.4133, allocations: 11.98 kB / 0.569 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.4133, allocations: 7.984 kB / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.4133, allocations: 4 kB / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000178/0.4135, allocations: 147.2 kB / 0.5692 GB, free: 12.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4135, allocations: 0 / 0.5692 GB, free: 12.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.4138, allocations: 27.94 kB / 0.5692 GB, free: 12.25 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.001721/0.4155, allocations: 430.4 kB / 0.5696 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002855/0.4158, allocations: 83.83 kB / 0.5697 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4158, allocations: 0 / 0.5697 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.4159, allocations: 36.09 kB / 0.5697 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.4162, allocations: 46.61 kB / 0.5697 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006708/0.4169, allocations: 309 kB / 0.57 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.417, allocations: 110.1 kB / 0.5701 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.916e-05/0.4171, allocations: 19.42 kB / 0.5702 GB, free: 11.33 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4171, allocations: 0 / 0.5702 GB, free: 11.33 MB / 414.1 MB Notification: Performance of Templates: time 0.005043/0.4221, allocations: 2.247 MB / 0.5724 GB, free: 9.086 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.410011555068195]