Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.001621/0.001621, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002223/0.002223, allocations: 208.4 kB / 23.73 MB, free: 4.387 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.485/1.485, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2281/0.2281, allocations: 44.94 MB / 358.8 MB, free: 6.141 MB / 286.1 MB " [Timeout remaining time 180] 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.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 71.91 kB / 0.4936 GB, free: 9.973 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3167, allocations: 65.46 MB / 0.5575 GB, free: 7.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003664/0.3204, allocations: 1.91 MB / 0.5594 GB, free: 5.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002018/0.3224, allocations: 1.003 MB / 0.5604 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.3225, allocations: 4 kB / 0.5604 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000352/0.3229, allocations: 47.64 kB / 0.5604 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004019/0.3233, allocations: 103.5 kB / 0.5605 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.3236, allocations: 95.66 kB / 0.5606 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.3239, allocations: 151.5 kB / 0.5607 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.324, allocations: 25.39 kB / 0.5608 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.3241, allocations: 59.7 kB / 0.5608 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.3242, allocations: 47.66 kB / 0.5609 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.906e-05/0.3243, allocations: 4 kB / 0.5609 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.3244, allocations: 47.98 kB / 0.5609 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.304e-05/0.3245, allocations: 31.91 kB / 0.5609 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.687e-05/0.3245, allocations: 43.67 kB / 0.561 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.3249, allocations: 150.1 kB / 0.5611 GB, free: 3.727 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3249, allocations: 4 kB / 0.5611 GB, free: 3.723 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3249, allocations: 0 / 0.5611 GB, free: 3.723 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.3249, allocations: 0 / 0.5611 GB, free: 3.723 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.0007749/0.3256, allocations: 419 kB / 0.5615 GB, free: 3.277 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.3257, allocations: 12.03 kB / 0.5615 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/0.3257, allocations: 16.84 kB / 0.5616 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000365/0.3261, allocations: 171 kB / 0.5617 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.3261, allocations: 4.375 kB / 0.5617 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.3262, allocations: 16.12 kB / 0.5617 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.3264, allocations: 129.9 kB / 0.5619 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3264, allocations: 0 / 0.5619 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.3265, allocations: 7.984 kB / 0.5619 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.3265, allocations: 4 kB / 0.5619 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001837/0.3267, allocations: 47.91 kB / 0.5619 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007461/0.3274, allocations: 448.7 kB / 0.5624 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000402/0.3278, allocations: 86.66 kB / 0.5624 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.3279, allocations: 36.83 kB / 0.5625 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.3279, allocations: 4 kB / 0.5625 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002613/0.3282, allocations: 117 kB / 0.5626 GB, free: 2.082 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.773e-06/0.3282, allocations: 0 / 0.5626 GB, free: 2.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004409/0.3286, allocations: 145.5 kB / 0.5627 GB, free: 1.934 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.3287, allocations: 51.41 kB / 0.5628 GB, free: 1.871 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.3289, allocations: 223 kB / 0.563 GB, free: 1.645 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.3289, allocations: 25.7 kB / 0.563 GB, free: 1.613 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.56e-05/0.329, allocations: 116.1 kB / 0.5631 GB, free: 1.496 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.3291, allocations: 35.72 kB / 0.5632 GB, free: 1.461 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.003e-05/0.3291, allocations: 29.7 kB / 0.5632 GB, free: 1.426 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3293, allocations: 322.8 kB / 0.5635 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.484e-05/0.3294, allocations: 27.98 kB / 0.5635 GB, free: 1.074 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.3295, allocations: 72.2 kB / 0.5636 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.3297, allocations: 104.1 kB / 0.5637 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3297, allocations: 0 / 0.5637 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002922/0.33, allocations: 137.8 kB / 0.5638 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.33, allocations: 10.81 kB / 0.5638 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.33, allocations: 0 / 0.5638 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.3301, allocations: 8.125 kB / 0.5638 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.3302, allocations: 20.08 kB / 0.5639 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.3302, allocations: 11.88 kB / 0.5639 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.455e-05/0.3303, allocations: 11.95 kB / 0.5639 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.3303, allocations: 4 kB / 0.5639 GB, free: 0.668 MB / 398.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.0001151/0.3304, allocations: 133.7 kB / 0.564 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.3304, allocations: 15.91 kB / 0.564 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003139/0.3307, allocations: 135 kB / 0.5642 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3307, allocations: 4 kB / 0.5642 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3307, allocations: 3.938 kB / 0.5642 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3307, allocations: 3.984 kB / 0.5642 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.3309, allocations: 141.3 kB / 0.5643 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.3309, allocations: 11.97 kB / 0.5643 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.155e-05/0.331, allocations: 12 kB / 0.5643 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.331, allocations: 0 / 0.5643 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.331, allocations: 4 kB / 0.5643 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.331, allocations: 0 / 0.5643 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.331, allocations: 0 / 0.5643 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004279/0.3314, allocations: 200.8 kB / 0.5645 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.564e-05/0.3315, allocations: 11.94 kB / 0.5645 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.3315, allocations: 7.984 kB / 0.5645 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.487e-05/0.3315, allocations: 7.938 kB / 0.5645 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.3316, allocations: 7.984 kB / 0.5646 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.3316, allocations: 11.94 kB / 0.5646 GB, free: 15.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001475/0.3318, allocations: 147.2 kB / 0.5647 GB, free: 15.76 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3318, allocations: 0 / 0.5647 GB, free: 15.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002501/0.332, allocations: 31.92 kB / 0.5647 GB, free: 15.73 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 (10): * Single equations (assignments): 8 * 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.001673/0.3337, allocations: 439.6 kB / 0.5652 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002665/0.3339, allocations: 79.89 kB / 0.5652 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3339, allocations: 0 / 0.5652 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.3341, allocations: 35.92 kB / 0.5653 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.3344, allocations: 56.58 kB / 0.5653 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005781/0.335, allocations: 279.6 kB / 0.5656 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.3351, allocations: 109.7 kB / 0.5657 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.299e-05/0.3352, allocations: 17.42 kB / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.3352, allocations: 19.42 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3352, allocations: 4 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of Templates: time 0.005934/0.3411, allocations: 2.112 MB / 0.5678 GB, free: 12.76 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.339249210432172]