Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.001361/0.001361, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001479/0.001479, allocations: 211 kB / 23.73 MB, free: 4.523 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.568/1.568, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.243/0.243, allocations: 46.96 MB / 360.9 MB, free: 4.047 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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 72.02 kB / 0.4967 GB, free: 7.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4014, allocations: 66.03 MB / 0.5612 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.00434/0.4057, allocations: 2.168 MB / 0.5633 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002725/0.4084, allocations: 1.276 MB / 0.5645 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.4086, allocations: 3.938 kB / 0.5645 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004952/0.4091, allocations: 131.3 kB / 0.5646 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006947/0.4098, allocations: 270.8 kB / 0.5649 GB, free: 308 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005392/0.4103, allocations: 195.5 kB / 0.5651 GB, free: 112 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006486/0.411, allocations: 470.6 kB / 0.5655 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.4112, allocations: 48.91 kB / 0.5656 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004211/0.4116, allocations: 331 kB / 0.5659 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002804/0.4119, allocations: 179.1 kB / 0.5661 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.673e-05/0.4119, allocations: 20 kB / 0.5661 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.4121, allocations: 71.98 kB / 0.5662 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.4123, allocations: 163.4 kB / 0.5663 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.4124, allocations: 154.6 kB / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006258/0.4131, allocations: 0.4884 MB / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4131, allocations: 0 / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4131, allocations: 0 / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.4131, allocations: 3.938 kB / 0.5669 GB, free: 14.2 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001397/0.4145, allocations: 0.8379 MB / 0.5678 GB, free: 13.33 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.4145, allocations: 8.031 kB / 0.5678 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.4146, allocations: 72.47 kB / 0.5678 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006518/0.4153, allocations: 367.1 kB / 0.5682 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.4153, allocations: 12.36 kB / 0.5682 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.231e-05/0.4154, allocations: 28.02 kB / 0.5682 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004321/0.4158, allocations: 193.5 kB / 0.5684 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.4158, allocations: 0 / 0.5684 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.4158, allocations: 7.984 kB / 0.5684 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4159, allocations: 4 kB / 0.5684 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002687/0.4161, allocations: 111.8 kB / 0.5685 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.4172, allocations: 0.7505 MB / 0.5693 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007037/0.4179, allocations: 238.5 kB / 0.5695 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.4181, allocations: 87.52 kB / 0.5696 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.4181, allocations: 4 kB / 0.5696 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004335/0.4185, allocations: 208.4 kB / 0.5698 GB, free: 11.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.663e-06/0.4185, allocations: 0 / 0.5698 GB, free: 11.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.00277/0.4213, allocations: 1.229 MB / 0.571 GB, free: 9.871 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.4214, allocations: 132.5 kB / 0.5711 GB, free: 9.711 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.4226, allocations: 0.9809 MB / 0.5721 GB, free: 8.719 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/0.4226, allocations: 37.7 kB / 0.5721 GB, free: 8.676 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002528/0.4229, allocations: 285 kB / 0.5724 GB, free: 8.395 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.423, allocations: 142.8 kB / 0.5725 GB, free: 8.254 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.4232, allocations: 78.08 kB / 0.5726 GB, free: 8.168 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.4233, allocations: 325.9 kB / 0.5729 GB, free: 7.844 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.4236, allocations: 120.8 kB / 0.573 GB, free: 7.727 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/0.4239, allocations: 195 kB / 0.5732 GB, free: 7.516 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000574/0.4244, allocations: 323.1 kB / 0.5735 GB, free: 7.176 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4244, allocations: 0 / 0.5735 GB, free: 7.176 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008485/0.4253, allocations: 457.2 kB / 0.5739 GB, free: 6.723 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.4253, allocations: 8 kB / 0.5739 GB, free: 6.715 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.4253, allocations: 4.125 kB / 0.5739 GB, free: 6.711 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.402e-05/0.4254, allocations: 4 kB / 0.5739 GB, free: 6.707 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.4257, allocations: 87.83 kB / 0.574 GB, free: 6.621 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.858e-05/0.4257, allocations: 9.109 kB / 0.574 GB, free: 6.613 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.4259, allocations: 19.98 kB / 0.5741 GB, free: 6.594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-05/0.4259, allocations: 23.94 kB / 0.5741 GB, free: 6.57 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0003698/0.4263, allocations: 260 kB / 0.5743 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.4264, allocations: 83.42 kB / 0.5744 GB, free: 6.227 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.4276, allocations: 0.5381 MB / 0.5749 GB, free: 5.676 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.4276, allocations: 8 kB / 0.5749 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.4276, allocations: 7.938 kB / 0.575 GB, free: 5.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.4276, allocations: 3.984 kB / 0.575 GB, free: 5.656 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001897/0.4295, allocations: 1.271 MB / 0.5762 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.4295, allocations: 4 kB / 0.5762 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.4297, allocations: 59.92 kB / 0.5763 GB, free: 4.258 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/0.4297, allocations: 7.984 kB / 0.5763 GB, free: 4.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.4298, allocations: 19.98 kB / 0.5763 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.4298, allocations: 4 kB / 0.5763 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/0.4298, allocations: 7.938 kB / 0.5763 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.4309, allocations: 0.8399 MB / 0.5771 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002292/0.4311, allocations: 123.5 kB / 0.5772 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.684e-05/0.4312, allocations: 19.94 kB / 0.5773 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002857/0.4315, allocations: 15.98 kB / 0.5773 GB, free: 3.168 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.332e-05/0.4316, allocations: 39.88 kB / 0.5773 GB, free: 3.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.127e-05/0.4316, allocations: 31.92 kB / 0.5773 GB, free: 3.098 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008815/0.4325, allocations: 0.7138 MB / 0.578 GB, free: 2.391 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4325, allocations: 0 / 0.578 GB, free: 2.391 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005557/0.4331, allocations: 87.94 kB / 0.5781 GB, free: 2.305 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002234/0.4353, allocations: 0.5784 MB / 0.5787 GB, free: 1.969 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008064/0.4361, allocations: 315.3 kB / 0.579 GB, free: 1.664 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4361, allocations: 0 / 0.579 GB, free: 1.664 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003212/0.4364, allocations: 156.4 kB / 0.5791 GB, free: 1.512 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009703/0.4374, allocations: 133.4 kB / 0.5793 GB, free: 1.387 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.4393, allocations: 1.23 MB / 0.5805 GB, free: 96 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.4397, allocations: 318.1 kB / 0.5808 GB, free: 15.76 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002105/0.4399, allocations: 75.2 kB / 0.5808 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.44, allocations: 55.41 kB / 0.5809 GB, free: 15.63 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.44, allocations: 0 / 0.5809 GB, free: 15.63 MB / 430.1 MB Notification: Performance of Templates: time 0.01275/0.4528, allocations: 6.393 MB / 0.5871 GB, free: 9.332 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.646579895634204]