Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2555/0.2555, allocations: 46.93 MB / 361.6 MB, free: 4.273 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 67.91 kB / 0.4974 GB, free: 7.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.3998, allocations: 66.04 MB / 0.5619 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.004255/0.4041, allocations: 1.967 MB / 0.5639 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.4061, allocations: 1.08 MB / 0.5649 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.4063, allocations: 11.94 kB / 0.5649 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003754/0.4066, allocations: 43.7 kB / 0.565 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003442/0.407, allocations: 99.53 kB / 0.5651 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.4072, allocations: 99.64 kB / 0.5652 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002576/0.4075, allocations: 147.5 kB / 0.5653 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.4076, allocations: 25.39 kB / 0.5653 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.4078, allocations: 63.7 kB / 0.5654 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.4079, allocations: 47.72 kB / 0.5654 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.4079, allocations: 8 kB / 0.5654 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.408, allocations: 51.98 kB / 0.5655 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.146e-05/0.4081, allocations: 35.83 kB / 0.5655 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.239e-05/0.4082, allocations: 51.62 kB / 0.5656 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002869/0.4084, allocations: 150 kB / 0.5657 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.4085, allocations: 0 / 0.5657 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4085, allocations: 0 / 0.5657 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.4085, allocations: 0 / 0.5657 GB, free: 0.5156 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007279/0.4092, allocations: 419 kB / 0.5661 GB, free: 72 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.4092, allocations: 8.031 kB / 0.5661 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.367e-05/0.4093, allocations: 24.83 kB / 0.5661 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004222/0.4097, allocations: 167.1 kB / 0.5663 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.4097, allocations: 8.375 kB / 0.5663 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.4098, allocations: 8.125 kB / 0.5663 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.4101, allocations: 108.2 kB / 0.5664 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.4101, allocations: 4 kB / 0.5664 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.4101, allocations: 4 kB / 0.5664 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.4101, allocations: 0 / 0.5664 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.4103, allocations: 47.97 kB / 0.5665 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000786/0.411, allocations: 480.1 kB / 0.5669 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003687/0.4114, allocations: 90.53 kB / 0.567 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.75e-05/0.4115, allocations: 36.84 kB / 0.567 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.4115, allocations: 0 / 0.567 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002075/0.4117, allocations: 87.31 kB / 0.5671 GB, free: 14.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.4117, allocations: 4 kB / 0.5671 GB, free: 14.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004578/0.4122, allocations: 141.5 kB / 0.5673 GB, free: 14.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/0.4123, allocations: 55.34 kB / 0.5673 GB, free: 14.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.4125, allocations: 207.1 kB / 0.5675 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.4125, allocations: 29.7 kB / 0.5675 GB, free: 14.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.4126, allocations: 120 kB / 0.5677 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.4127, allocations: 35.73 kB / 0.5677 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.013e-05/0.4127, allocations: 29.72 kB / 0.5677 GB, free: 14.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.4129, allocations: 330.8 kB / 0.568 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.942e-05/0.413, allocations: 23.98 kB / 0.5681 GB, free: 13.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.4131, allocations: 64.27 kB / 0.5681 GB, free: 13.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.4133, allocations: 92.22 kB / 0.5682 GB, free: 13.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4133, allocations: 0 / 0.5682 GB, free: 13.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002911/0.4136, allocations: 141.9 kB / 0.5683 GB, free: 13.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.4136, allocations: 8 kB / 0.5684 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4136, allocations: 96 / 0.5684 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.4137, allocations: 7.938 kB / 0.5684 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.4138, allocations: 27.86 kB / 0.5684 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.4138, allocations: 4 kB / 0.5684 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.503e-05/0.4139, allocations: 15.94 kB / 0.5684 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.4139, allocations: 4 kB / 0.5684 GB, free: 13.5 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.0001311/0.414, allocations: 129.7 kB / 0.5685 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.414, allocations: 27.88 kB / 0.5686 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002999/0.4143, allocations: 123 kB / 0.5687 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.4143, allocations: 3.938 kB / 0.5687 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4143, allocations: 0 / 0.5687 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.4143, allocations: 7.922 kB / 0.5687 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.4145, allocations: 176.7 kB / 0.5689 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4145, allocations: 0 / 0.5689 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.624e-05/0.4146, allocations: 12 kB / 0.5689 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4146, allocations: 0 / 0.5689 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.4146, allocations: 4 kB / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/0.4146, allocations: 15.86 kB / 0.5689 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4146, allocations: 0 / 0.5689 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003838/0.415, allocations: 184.9 kB / 0.5691 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.149e-05/0.4151, allocations: 11.94 kB / 0.5691 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.4151, allocations: 0 / 0.5691 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.485e-05/0.4151, allocations: 15.98 kB / 0.5691 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.4152, allocations: 11.98 kB / 0.5691 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.4152, allocations: 4 kB / 0.5691 GB, free: 12.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001387/0.4153, allocations: 143.2 kB / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4153, allocations: 0 / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002344/0.4156, allocations: 28.12 kB / 0.5693 GB, free: 12.54 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 (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.001544/0.4171, allocations: 408.8 kB / 0.5697 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002799/0.4174, allocations: 79.89 kB / 0.5697 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4174, allocations: 0 / 0.5697 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.4175, allocations: 32.11 kB / 0.5698 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.4178, allocations: 49.47 kB / 0.5698 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006409/0.4185, allocations: 297.1 kB / 0.5701 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.4189, allocations: 0.7242 MB / 0.5708 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.4189, allocations: 23.38 kB / 0.5708 GB, free: 11.04 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4189, allocations: 0 / 0.5708 GB, free: 11.04 MB / 414.1 MB Notification: Performance of Templates: time 0.004745/0.4237, allocations: 2.209 MB / 0.573 GB, free: 8.84 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 8.224217612063512]