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.001579/0.001579, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001718/0.001718, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.632/1.632, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.2442/0.2442, allocations: 46.93 MB / 360.8 MB, free: 4.289 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.002171/0.002171, allocations: 63.91 kB / 0.4967 GB, free: 7.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3785, allocations: 66.04 MB / 0.5612 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003961/0.3825, allocations: 1.963 MB / 0.5631 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002147/0.3846, allocations: 1.084 MB / 0.5642 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.3848, allocations: 7.938 kB / 0.5642 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003835/0.3852, allocations: 43.7 kB / 0.5642 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003834/0.3855, allocations: 99.53 kB / 0.5643 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.3858, allocations: 95.66 kB / 0.5644 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002738/0.3861, allocations: 151.5 kB / 0.5645 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.3862, allocations: 20.41 kB / 0.5646 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.3864, allocations: 67.72 kB / 0.5646 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.3865, allocations: 47.7 kB / 0.5647 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.3865, allocations: 8 kB / 0.5647 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.3866, allocations: 47.98 kB / 0.5647 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.824e-05/0.3867, allocations: 31.86 kB / 0.5648 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.637e-05/0.3868, allocations: 55.59 kB / 0.5648 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003163/0.3871, allocations: 151 kB / 0.5649 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3871, allocations: 0 / 0.5649 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3871, allocations: 0 / 0.5649 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.3871, allocations: 0 / 0.5649 GB, free: 0.5508 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.0007942/0.3879, allocations: 423 kB / 0.5654 GB, free: 104 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.388, allocations: 8.031 kB / 0.5654 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.635e-05/0.388, allocations: 16.84 kB / 0.5654 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.3884, allocations: 167 kB / 0.5655 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.3885, allocations: 12.36 kB / 0.5655 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/0.3885, allocations: 8.125 kB / 0.5656 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002908/0.3888, allocations: 112.2 kB / 0.5657 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3888, allocations: 0 / 0.5657 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.3888, allocations: 3.984 kB / 0.5657 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.3888, allocations: 4 kB / 0.5657 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.389, allocations: 47.91 kB / 0.5657 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006813/0.3897, allocations: 492.1 kB / 0.5662 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/0.39, allocations: 86.59 kB / 0.5663 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.3901, allocations: 36.83 kB / 0.5663 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.3902, allocations: 7.938 kB / 0.5663 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002191/0.3904, allocations: 79.38 kB / 0.5664 GB, free: 14.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.3904, allocations: 0 / 0.5664 GB, free: 14.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004343/0.3908, allocations: 141.5 kB / 0.5665 GB, free: 14.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.3909, allocations: 55.34 kB / 0.5666 GB, free: 14.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.3911, allocations: 211.1 kB / 0.5668 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.3911, allocations: 29.7 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.815e-05/0.3912, allocations: 116.1 kB / 0.5669 GB, free: 14.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.873e-05/0.3913, allocations: 31.73 kB / 0.5669 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.162e-05/0.3913, allocations: 29.66 kB / 0.567 GB, free: 14.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.3915, allocations: 326.8 kB / 0.5673 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.662e-05/0.3916, allocations: 31.97 kB / 0.5673 GB, free: 13.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.3917, allocations: 60.28 kB / 0.5674 GB, free: 13.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.3919, allocations: 100.2 kB / 0.5675 GB, free: 13.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3919, allocations: 4 kB / 0.5675 GB, free: 13.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002912/0.3922, allocations: 133.8 kB / 0.5676 GB, free: 13.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3922, allocations: 8.094 kB / 0.5676 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3922, allocations: 3.938 kB / 0.5676 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.3922, allocations: 4 kB / 0.5676 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.3924, allocations: 35.86 kB / 0.5676 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.3924, allocations: 4 kB / 0.5677 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.281e-05/0.3924, allocations: 12.08 kB / 0.5677 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.3924, allocations: 4 kB / 0.5677 GB, free: 13.52 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.0001317/0.3926, allocations: 136.4 kB / 0.5678 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.3926, allocations: 15.91 kB / 0.5678 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003198/0.3929, allocations: 127 kB / 0.5679 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3929, allocations: 3.938 kB / 0.5679 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3929, allocations: 0 / 0.5679 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3929, allocations: 0 / 0.5679 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.3931, allocations: 184.6 kB / 0.5681 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3931, allocations: 4 kB / 0.5681 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.1e-05/0.3932, allocations: 11.98 kB / 0.5681 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3932, allocations: 3.938 kB / 0.5681 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.3932, allocations: 4 kB / 0.5681 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.3932, allocations: 7.938 kB / 0.5681 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3932, allocations: 0 / 0.5681 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00042/0.3937, allocations: 184.9 kB / 0.5683 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.667e-05/0.3937, allocations: 11.94 kB / 0.5683 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.3937, allocations: 0 / 0.5683 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.152e-05/0.3938, allocations: 15.92 kB / 0.5683 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.3938, allocations: 4 kB / 0.5684 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.3939, allocations: 7.984 kB / 0.5684 GB, free: 12.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001505/0.394, allocations: 143.2 kB / 0.5685 GB, free: 12.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.394, allocations: 192 / 0.5685 GB, free: 12.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.3943, allocations: 27.94 kB / 0.5685 GB, free: 12.57 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.001651/0.3959, allocations: 409.6 kB / 0.5689 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002737/0.3962, allocations: 79.83 kB / 0.569 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3962, allocations: 0 / 0.569 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.3963, allocations: 40.05 kB / 0.569 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.3966, allocations: 43.72 kB / 0.5691 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006391/0.3973, allocations: 283.3 kB / 0.5693 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.3977, allocations: 0.7162 MB / 0.57 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.446e-05/0.3977, allocations: 17.42 kB / 0.5701 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.3978, allocations: 23.42 kB / 0.5701 GB, free: 11.08 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3978, allocations: 0 / 0.5701 GB, free: 11.08 MB / 414.1 MB Notification: Performance of Templates: time 0.006081/0.4039, allocations: 1.944 MB / 0.572 GB, free: 9.148 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/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_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: 5.671478922944516]