Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.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.001289/0.001289, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.001443/0.001443, allocations: 205.6 kB / 24.46 MB, free: 4.023 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.616/1.616, allocations: 230.2 MB / 257.8 MB, free: 8.523 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2352/0.2352, allocations: 46.9 MB / 361.1 MB, free: 4.738 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003777/0.003777, allocations: 87.86 kB / 0.4968 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3259, allocations: 65.98 MB / 0.5613 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.00351/0.3295, allocations: 1.956 MB / 0.5632 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.3315, allocations: 1.08 MB / 0.5642 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.773e-05/0.3316, allocations: 4 kB / 0.5642 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.3319, allocations: 55.62 kB / 0.5643 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000322/0.3322, allocations: 99.53 kB / 0.5644 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.3324, allocations: 99.64 kB / 0.5645 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002364/0.3327, allocations: 139.5 kB / 0.5646 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.3328, allocations: 24.36 kB / 0.5646 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.3329, allocations: 67.64 kB / 0.5647 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.333, allocations: 47.72 kB / 0.5647 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.333, allocations: 8 kB / 0.5647 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.3331, allocations: 51.97 kB / 0.5648 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.212e-05/0.3332, allocations: 27.91 kB / 0.5648 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.56e-05/0.3333, allocations: 47.62 kB / 0.5649 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.3335, allocations: 163.2 kB / 0.565 GB, free: 1.164 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3335, allocations: 0 / 0.565 GB, free: 1.164 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.3335, allocations: 0 / 0.565 GB, free: 1.164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.3336, allocations: 0 / 0.565 GB, free: 1.164 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.0007243/0.3343, allocations: 488.1 kB / 0.5655 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.3343, allocations: 8.031 kB / 0.5655 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.253e-05/0.3344, allocations: 16.84 kB / 0.5655 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.3347, allocations: 240.8 kB / 0.5657 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.3347, allocations: 8.375 kB / 0.5657 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.3348, allocations: 4.375 kB / 0.5658 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.335, allocations: 112.5 kB / 0.5659 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.335, allocations: 0 / 0.5659 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.335, allocations: 8 kB / 0.5659 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.335, allocations: 0 / 0.5659 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.3352, allocations: 51.91 kB / 0.5659 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006644/0.3359, allocations: 0.4971 MB / 0.5664 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003536/0.3362, allocations: 90.59 kB / 0.5665 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.3363, allocations: 40.81 kB / 0.5665 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.3364, allocations: 4 kB / 0.5665 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.3365, allocations: 83.25 kB / 0.5666 GB, free: 15.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.3366, allocations: 4 kB / 0.5666 GB, free: 15.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004196/0.337, allocations: 145.5 kB / 0.5668 GB, free: 15.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.337, allocations: 51.41 kB / 0.5668 GB, free: 15.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.3372, allocations: 203.1 kB / 0.567 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.3373, allocations: 25.7 kB / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.814e-05/0.3374, allocations: 128 kB / 0.5671 GB, free: 14.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.3374, allocations: 27.75 kB / 0.5672 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.016e-05/0.3374, allocations: 33.7 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3376, allocations: 326.8 kB / 0.5675 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.157e-05/0.3377, allocations: 27.98 kB / 0.5675 GB, free: 14.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.3378, allocations: 64.27 kB / 0.5676 GB, free: 14.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.338, allocations: 104.1 kB / 0.5677 GB, free: 14.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.338, allocations: 4 kB / 0.5677 GB, free: 14.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002829/0.3383, allocations: 129.8 kB / 0.5678 GB, free: 14.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.3383, allocations: 18.45 kB / 0.5678 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3383, allocations: 96 / 0.5678 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.3383, allocations: 3.938 kB / 0.5678 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.3384, allocations: 23.98 kB / 0.5679 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.3384, allocations: 3.938 kB / 0.5679 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.087e-05/0.3385, allocations: 19.89 kB / 0.5679 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.3385, allocations: 4 kB / 0.5679 GB, free: 13.94 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.0001149/0.3386, allocations: 125.8 kB / 0.568 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.3387, allocations: 15.91 kB / 0.568 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.339, allocations: 127 kB / 0.5682 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.339, allocations: 4 kB / 0.5682 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.339, allocations: 0 / 0.5682 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.339, allocations: 3.938 kB / 0.5682 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.3392, allocations: 209.5 kB / 0.5684 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3392, allocations: 0 / 0.5684 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.932e-05/0.3393, allocations: 15.98 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.3393, allocations: 0 / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.3393, allocations: 4 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3393, allocations: 7.938 kB / 0.5684 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3393, allocations: 3.938 kB / 0.5684 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004017/0.3397, allocations: 180.9 kB / 0.5686 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.565e-05/0.3398, allocations: 93.03 kB / 0.5687 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.3398, allocations: 4 kB / 0.5687 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.617e-05/0.3399, allocations: 4 kB / 0.5687 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.3399, allocations: 15.98 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.3399, allocations: 4 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001393/0.3401, allocations: 148.4 kB / 0.5688 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3401, allocations: 0 / 0.5688 GB, free: 12.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.3403, allocations: 28.12 kB / 0.5688 GB, free: 12.86 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.00145/0.3418, allocations: 413 kB / 0.5692 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002646/0.342, allocations: 79.84 kB / 0.5693 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.342, allocations: 0 / 0.5693 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.978e-05/0.3421, allocations: 31.98 kB / 0.5693 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.3424, allocations: 39.09 kB / 0.5694 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005274/0.3429, allocations: 287.2 kB / 0.5697 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.3433, allocations: 0.7164 MB / 0.5704 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.516e-05/0.3434, allocations: 29.33 kB / 0.5704 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.841e-05/0.3434, allocations: 19.44 kB / 0.5704 GB, free: 11.36 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3434, allocations: 0 / 0.5704 GB, free: 11.36 MB / 414.1 MB Notification: Performance of Templates: time 0.00531/0.3487, allocations: 1.927 MB / 0.5723 GB, free: 9.441 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.106307813897729]