Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002074/0.002074, allocations: 104.6 kB / 21.22 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002417/0.002417, allocations: 189.2 kB / 24.51 MB, free: 4.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.683/1.683, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2563/0.2563, allocations: 44.92 MB / 353.5 MB, free: 11.8 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 71.89 kB / 497.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4165, allocations: 64.29 MB / 0.5489 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003325/0.4199, allocations: 1.738 MB / 0.5506 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002558/0.4224, allocations: 1.584 MB / 0.5521 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.734e-05/0.4225, allocations: 1.594 kB / 0.5521 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003549/0.4229, allocations: 41.58 kB / 0.5522 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002744/0.4231, allocations: 57.23 kB / 0.5522 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.4235, allocations: 115.3 kB / 0.5523 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.4237, allocations: 99.36 kB / 0.5524 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.4238, allocations: 11.14 kB / 0.5524 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.4239, allocations: 45.7 kB / 0.5525 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.424, allocations: 41.3 kB / 0.5525 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.4241, allocations: 4.469 kB / 0.5525 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.4242, allocations: 56.89 kB / 0.5526 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.972e-05/0.4243, allocations: 19.69 kB / 0.5526 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.059e-05/0.4243, allocations: 35.83 kB / 0.5526 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.4246, allocations: 126 kB / 0.5528 GB, free: 10.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4246, allocations: 0 / 0.5528 GB, free: 10.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4246, allocations: 0 / 0.5528 GB, free: 10.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.4246, allocations: 1.062 kB / 0.5528 GB, free: 10.11 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006066/0.4252, allocations: 337.1 kB / 0.5531 GB, free: 9.781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.4252, allocations: 10.48 kB / 0.5531 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.206e-05/0.4253, allocations: 8.297 kB / 0.5531 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.4256, allocations: 140.3 kB / 0.5532 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.4256, allocations: 13.5 kB / 0.5532 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.4256, allocations: 6.562 kB / 0.5532 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.4258, allocations: 65.52 kB / 0.5533 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.4258, allocations: 1.25 kB / 0.5533 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.4258, allocations: 3.984 kB / 0.5533 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.4258, allocations: 1.469 kB / 0.5533 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.792e-05/0.4259, allocations: 18.42 kB / 0.5533 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/0.4263, allocations: 255.1 kB / 0.5536 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.4265, allocations: 60.55 kB / 0.5536 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.465e-05/0.4266, allocations: 20.12 kB / 0.5537 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.4266, allocations: 1.125 kB / 0.5537 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.4267, allocations: 69.52 kB / 0.5537 GB, free: 9.137 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.4267, allocations: 0 / 0.5537 GB, free: 9.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005717/0.4273, allocations: 172.3 kB / 0.5539 GB, free: 9.035 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.413e-05/0.4274, allocations: 79.52 kB / 0.554 GB, free: 8.941 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.4275, allocations: 146.7 kB / 0.5541 GB, free: 8.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/0.4276, allocations: 34.67 kB / 0.5541 GB, free: 8.781 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.208e-05/0.4276, allocations: 96.38 kB / 0.5542 GB, free: 8.688 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.4277, allocations: 28.3 kB / 0.5543 GB, free: 8.664 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/0.4277, allocations: 27.52 kB / 0.5543 GB, free: 8.637 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.4279, allocations: 326.4 kB / 0.5546 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.582e-05/0.4279, allocations: 18.22 kB / 0.5546 GB, free: 8.305 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.696e-05/0.428, allocations: 41.22 kB / 0.5546 GB, free: 8.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.4282, allocations: 63.59 kB / 0.5547 GB, free: 8.227 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.4282, allocations: 32 / 0.5547 GB, free: 8.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002113/0.4284, allocations: 110.9 kB / 0.5548 GB, free: 8.152 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.4284, allocations: 5.5 kB / 0.5548 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4284, allocations: 4.938 kB / 0.5548 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.4284, allocations: 1.094 kB / 0.5548 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.061e-05/0.4285, allocations: 17.31 kB / 0.5548 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.4285, allocations: 1.469 kB / 0.5548 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.59e-05/0.4286, allocations: 13.17 kB / 0.5549 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-06/0.4286, allocations: 3.531 kB / 0.5549 GB, free: 8.133 MB / 398.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 (10): * Single equations (assignments): 10 * 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.0001142/0.4287, allocations: 123.8 kB / 0.555 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.4287, allocations: 12.59 kB / 0.555 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002656/0.429, allocations: 109.6 kB / 0.5551 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.429, allocations: 1.188 kB / 0.5551 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.429, allocations: 3.938 kB / 0.5551 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.429, allocations: 5.125 kB / 0.5551 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004378/0.4294, allocations: 353.8 kB / 0.5554 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.4294, allocations: 5.156 kB / 0.5554 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.884e-05/0.4295, allocations: 19.98 kB / 0.5555 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4295, allocations: 0 / 0.5555 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.4295, allocations: 6.219 kB / 0.5555 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4295, allocations: 0.9688 kB / 0.5555 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4295, allocations: 0.9375 kB / 0.5555 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.4297, allocations: 204.2 kB / 0.5557 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.532e-05/0.4297, allocations: 10.48 kB / 0.5557 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.4298, allocations: 10.27 kB / 0.5557 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.113e-05/0.4298, allocations: 2.688 kB / 0.5557 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.4299, allocations: 14.64 kB / 0.5557 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.4299, allocations: 3.688 kB / 0.5557 GB, free: 7.355 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.671e-05/0.43, allocations: 116.4 kB / 0.5558 GB, free: 7.262 MB / 398.1 MB Notification: Performance of sort global known variables: time 5e-08/0.43, allocations: 0 / 0.5558 GB, free: 7.262 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000269/0.4303, allocations: 36.7 kB / 0.5559 GB, free: 7.246 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001773/0.432, allocations: 0.4907 MB / 0.5563 GB, free: 7.012 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002059/0.4322, allocations: 55.58 kB / 0.5564 GB, free: 6.988 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.4322, allocations: 1.125 kB / 0.5564 GB, free: 6.988 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.484e-05/0.4323, allocations: 26.77 kB / 0.5564 GB, free: 6.977 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.4327, allocations: 26.08 kB / 0.5564 GB, free: 6.965 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004468/0.4331, allocations: 203.9 kB / 0.5566 GB, free: 6.785 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.4335, allocations: 0.6932 MB / 0.5573 GB, free: 6.082 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.568e-05/0.4336, allocations: 19.11 kB / 0.5573 GB, free: 6.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.4336, allocations: 24.36 kB / 0.5573 GB, free: 6.055 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4336, allocations: 0 / 0.5573 GB, free: 6.055 MB / 398.1 MB Notification: Performance of Templates: time 0.005481/0.4391, allocations: 2.008 MB / 0.5593 GB, free: 4.566 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.8249640595167875]