Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.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.009523/0.009523, allocations: 107.9 kB / 21.97 MB, free: 5.184 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.002245/0.002245, allocations: 218.2 kB / 25.29 MB, free: 3.203 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.455/1.455, allocations: 230.5 MB / 258.9 MB, free: 8.016 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.2278/0.2278, allocations: 46.94 MB / 362.3 MB, free: 4.211 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.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89") [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.00229/0.00229, allocations: 79.88 kB / 0.4983 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3075, allocations: 66.08 MB / 0.5628 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003385/0.3108, allocations: 1.756 MB / 0.5645 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002611/0.3135, allocations: 1.734 MB / 0.5662 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.094e-05/0.3135, allocations: 3.938 kB / 0.5662 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002746/0.3138, allocations: 47.7 kB / 0.5663 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003226/0.3141, allocations: 99.53 kB / 0.5663 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002068/0.3143, allocations: 79.72 kB / 0.5664 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.3145, allocations: 99.64 kB / 0.5665 GB, free: 444 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.035e-05/0.3146, allocations: 15.98 kB / 0.5665 GB, free: 428 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.3147, allocations: 47.78 kB / 0.5666 GB, free: 380 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.3149, allocations: 43.83 kB / 0.5666 GB, free: 336 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.3149, allocations: 4 kB / 0.5666 GB, free: 332 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001956/0.3151, allocations: 119.9 kB / 0.5667 GB, free: 212 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.91e-05/0.3152, allocations: 15.92 kB / 0.5668 GB, free: 196 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.517e-05/0.3152, allocations: 35.8 kB / 0.5668 GB, free: 160 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000315/0.3155, allocations: 173.7 kB / 0.567 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3155, allocations: 3.984 kB / 0.567 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3155, allocations: 0 / 0.567 GB, free: 15.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.3155, allocations: 0 / 0.567 GB, free: 15.98 MB / 414.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.0005874/0.3161, allocations: 349.5 kB / 0.5673 GB, free: 15.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.3162, allocations: 12.03 kB / 0.5673 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.982e-05/0.3162, allocations: 12.84 kB / 0.5673 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.3165, allocations: 146.9 kB / 0.5675 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.3165, allocations: 8.375 kB / 0.5675 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.3166, allocations: 8.109 kB / 0.5675 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.3167, allocations: 79.27 kB / 0.5675 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3168, allocations: 0 / 0.5675 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.3168, allocations: 0 / 0.5675 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3168, allocations: 4 kB / 0.5676 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.607e-05/0.3168, allocations: 15.98 kB / 0.5676 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004133/0.3173, allocations: 256 kB / 0.5678 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.3175, allocations: 66.59 kB / 0.5679 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.531e-05/0.3175, allocations: 16.86 kB / 0.5679 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.3175, allocations: 3.984 kB / 0.5679 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.3177, allocations: 63.39 kB / 0.568 GB, free: 14.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.3177, allocations: 4 kB / 0.568 GB, free: 14.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005604/0.3182, allocations: 173.3 kB / 0.5681 GB, free: 14.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.3183, allocations: 89.09 kB / 0.5682 GB, free: 14.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.3185, allocations: 158.5 kB / 0.5684 GB, free: 14.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.3185, allocations: 25.7 kB / 0.5684 GB, free: 14.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.308e-05/0.3186, allocations: 96.14 kB / 0.5685 GB, free: 14.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.3186, allocations: 31.73 kB / 0.5685 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.3187, allocations: 21.72 kB / 0.5685 GB, free: 14.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3188, allocations: 326.8 kB / 0.5688 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.237e-05/0.3189, allocations: 27.92 kB / 0.5689 GB, free: 13.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.947e-05/0.319, allocations: 46.5 kB / 0.5689 GB, free: 13.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.3191, allocations: 57.72 kB / 0.569 GB, free: 13.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3191, allocations: 0 / 0.569 GB, free: 13.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001876/0.3193, allocations: 97.56 kB / 0.5691 GB, free: 13.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3193, allocations: 8 kB / 0.5691 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3193, allocations: 384 / 0.5691 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.3193, allocations: 4.062 kB / 0.5691 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.724e-05/0.3194, allocations: 15.98 kB / 0.5691 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.3194, allocations: 8 kB / 0.5691 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.959e-05/0.3195, allocations: 7.938 kB / 0.5691 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.3195, allocations: 4 kB / 0.5691 GB, free: 13.57 MB / 414.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.0001094/0.3196, allocations: 117.8 kB / 0.5692 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.3196, allocations: 15.94 kB / 0.5692 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/0.3199, allocations: 114.5 kB / 0.5693 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3199, allocations: 4 kB / 0.5693 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3199, allocations: 0 / 0.5693 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.3199, allocations: 11.86 kB / 0.5694 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.3203, allocations: 362.4 kB / 0.5697 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.3203, allocations: 7.984 kB / 0.5697 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.401e-05/0.3204, allocations: 11.94 kB / 0.5697 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3204, allocations: 0 / 0.5697 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.3204, allocations: 7.938 kB / 0.5697 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3204, allocations: 4.031 kB / 0.5697 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.3204, allocations: 4 kB / 0.5697 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.3206, allocations: 192.3 kB / 0.5699 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.047e-05/0.3207, allocations: 11.94 kB / 0.5699 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.3207, allocations: 7.938 kB / 0.5699 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.205e-05/0.3208, allocations: 4 kB / 0.5699 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.3208, allocations: 7.984 kB / 0.5699 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.3208, allocations: 8 kB / 0.57 GB, free: 12.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001158/0.3209, allocations: 123.9 kB / 0.5701 GB, free: 12.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3209, allocations: 0 / 0.5701 GB, free: 12.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003011/0.3212, allocations: 55.8 kB / 0.5701 GB, free: 12.43 MB / 414.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.001929/0.3232, allocations: 0.5385 MB / 0.5707 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000207/0.3234, allocations: 67.89 kB / 0.5707 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3234, allocations: 0 / 0.5707 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.013e-05/0.3235, allocations: 20 kB / 0.5707 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.3238, allocations: 31.22 kB / 0.5708 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005282/0.3243, allocations: 240.5 kB / 0.571 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.3247, allocations: 0.6962 MB / 0.5717 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.61e-05/0.3247, allocations: 23.42 kB / 0.5717 GB, free: 10.95 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3247, allocations: 0 / 0.5717 GB, free: 10.95 MB / 414.1 MB Notification: Performance of Templates: time 0.004801/0.3295, allocations: 2.409 MB / 0.5741 GB, free: 8.543 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.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: 7.950352774001658]