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.001678/0.001678, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.001931/0.001931, allocations: 164.6 kB / 24.5 MB, free: 3.453 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.511/1.511, allocations: 177.1 MB / 204.7 MB, free: 9.004 MB / 190.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.2104/0.2104, allocations: 34.26 MB / 295.4 MB, free: 14.5 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.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.002513/0.002513, allocations: 71.88 kB / 443.2 MB, free: 6.469 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3875, allocations: 66.05 MB / 0.4973 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002501/0.39, allocations: 1.689 MB / 0.499 GB, free: 28.9 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.3914, allocations: 0.9504 MB / 0.4999 GB, free: 28.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.553e-05/0.3915, allocations: 0 / 0.4999 GB, free: 28.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003285/0.3918, allocations: 87.36 kB / 0.5 GB, free: 28.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003021/0.3921, allocations: 117.2 kB / 0.5001 GB, free: 28.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.3922, allocations: 76.34 kB / 0.5002 GB, free: 28.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.3924, allocations: 108.7 kB / 0.5003 GB, free: 28.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.127e-05/0.3925, allocations: 6.875 kB / 0.5003 GB, free: 28.13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.896e-05/0.3925, allocations: 53.39 kB / 0.5003 GB, free: 28.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.3926, allocations: 58.58 kB / 0.5004 GB, free: 28.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.3927, allocations: 3.125 kB / 0.5004 GB, free: 28.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.642e-05/0.3927, allocations: 39.05 kB / 0.5004 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.992e-05/0.3928, allocations: 21.33 kB / 0.5004 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.746e-05/0.3928, allocations: 22.34 kB / 0.5005 GB, free: 28.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.393, allocations: 113.4 kB / 0.5006 GB, free: 28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.393, allocations: 0 / 0.5006 GB, free: 28 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.393, allocations: 0 / 0.5006 GB, free: 28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.393, allocations: 0 / 0.5006 GB, free: 28 MB / 446.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.0004449/0.3935, allocations: 350.9 kB / 0.5009 GB, free: 27.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.3935, allocations: 13.58 kB / 0.5009 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.3935, allocations: 19.28 kB / 0.5009 GB, free: 27.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.3937, allocations: 158 kB / 0.5011 GB, free: 27.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.3937, allocations: 7.641 kB / 0.5011 GB, free: 27.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.3937, allocations: 384 / 0.5011 GB, free: 27.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.3939, allocations: 54.03 kB / 0.5011 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.3939, allocations: 0 / 0.5011 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.3939, allocations: 0 / 0.5011 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3939, allocations: 3.562 kB / 0.5011 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.112e-05/0.3939, allocations: 17 kB / 0.5012 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001266/0.3941, allocations: 128.5 kB / 0.5013 GB, free: 27.33 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.3942, allocations: 56.95 kB / 0.5013 GB, free: 27.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.822e-05/0.3943, allocations: 29.88 kB / 0.5014 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.3943, allocations: 0 / 0.5014 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001378/0.3944, allocations: 62.98 kB / 0.5014 GB, free: 27.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.3944, allocations: 0 / 0.5014 GB, free: 27.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002528/0.3947, allocations: 109.6 kB / 0.5015 GB, free: 27.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.025e-05/0.3947, allocations: 54.83 kB / 0.5016 GB, free: 27.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.3948, allocations: 223.4 kB / 0.5018 GB, free: 26.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.3948, allocations: 25.7 kB / 0.5018 GB, free: 26.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.3949, allocations: 106.1 kB / 0.5019 GB, free: 26.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.3949, allocations: 22.38 kB / 0.5019 GB, free: 26.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/0.3949, allocations: 16.81 kB / 0.502 GB, free: 26.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.742e-05/0.395, allocations: 324.5 kB / 0.5023 GB, free: 26.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.654e-05/0.395, allocations: 21.64 kB / 0.5023 GB, free: 26.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.605e-05/0.3951, allocations: 29.45 kB / 0.5023 GB, free: 26.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.243e-05/0.3952, allocations: 51.77 kB / 0.5024 GB, free: 26.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3952, allocations: 0 / 0.5024 GB, free: 26.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001285/0.3953, allocations: 84.08 kB / 0.5025 GB, free: 26.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.3953, allocations: 14.44 kB / 0.5025 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.3953, allocations: 0 / 0.5025 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3953, allocations: 0 / 0.5025 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.918e-05/0.3954, allocations: 13.59 kB / 0.5025 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.3954, allocations: 0 / 0.5025 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.32e-05/0.3954, allocations: 10.7 kB / 0.5025 GB, free: 26.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.3955, allocations: 2.938 kB / 0.5025 GB, free: 26.33 MB / 446.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 6.171e-05/0.3955, allocations: 126.2 kB / 0.5026 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/0.3955, allocations: 18.61 kB / 0.5026 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001753/0.3957, allocations: 102.4 kB / 0.5027 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3957, allocations: 4 kB / 0.5027 GB, free: 26.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3957, allocations: 0 / 0.5027 GB, free: 26.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3957, allocations: 3.188 kB / 0.5027 GB, free: 26.13 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.209e-05/0.3958, allocations: 131.8 kB / 0.5029 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3958, allocations: 3.156 kB / 0.5029 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.426e-05/0.3958, allocations: 3.188 kB / 0.5029 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.3958, allocations: 0 / 0.5029 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.3958, allocations: 7 kB / 0.5029 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3958, allocations: 0 / 0.5029 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3958, allocations: 3.938 kB / 0.5029 GB, free: 25.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001546/0.396, allocations: 125.3 kB / 0.503 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.879e-05/0.396, allocations: 15 kB / 0.503 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.396, allocations: 15.11 kB / 0.503 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.611e-05/0.3961, allocations: 0 / 0.503 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.818e-05/0.3961, allocations: 10.55 kB / 0.503 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.3961, allocations: 3.125 kB / 0.503 GB, free: 25.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.817e-05/0.3962, allocations: 171.8 kB / 0.5032 GB, free: 25.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3962, allocations: 0 / 0.5032 GB, free: 25.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00021/0.3964, allocations: 22.17 kB / 0.5032 GB, free: 25.77 MB / 446.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.001504/0.3979, allocations: 435.7 kB / 0.5036 GB, free: 25.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001707/0.3981, allocations: 47.48 kB / 0.5037 GB, free: 25.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3981, allocations: 0 / 0.5037 GB, free: 25.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.847e-05/0.3982, allocations: 20 kB / 0.5037 GB, free: 25.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.3984, allocations: 28.59 kB / 0.5037 GB, free: 25.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/0.3988, allocations: 231.3 kB / 0.504 GB, free: 25.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.836e-05/0.3988, allocations: 98.83 kB / 0.504 GB, free: 25.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.001e-05/0.3989, allocations: 14.31 kB / 0.5041 GB, free: 25.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.3989, allocations: 22.25 kB / 0.5041 GB, free: 25.25 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3989, allocations: 0 / 0.5041 GB, free: 25.25 MB / 446.1 MB Notification: Performance of Templates: time 0.003973/0.4029, allocations: 1.619 MB / 0.5057 GB, free: 25.02 MB / 446.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/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: 4.991327289026231]