Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.001972/0.001972, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002395/0.002395, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.556/1.556, 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.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.2268/0.2268, allocations: 44.94 MB / 358.8 MB, free: 6.055 MB / 286.1 MB " [Timeout remaining time 179] 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") [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.002294/0.002294, allocations: 75.89 kB / 0.4936 GB, free: 9.988 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3143, allocations: 65.47 MB / 0.5575 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003763/0.318, allocations: 1.894 MB / 0.5594 GB, free: 5.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002082/0.3201, allocations: 1.013 MB / 0.5603 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.3202, allocations: 0 / 0.5603 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003772/0.3206, allocations: 55.64 kB / 0.5604 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004171/0.321, allocations: 95.55 kB / 0.5605 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.3213, allocations: 107.6 kB / 0.5606 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002597/0.3216, allocations: 143.5 kB / 0.5607 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.3217, allocations: 21.39 kB / 0.5608 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.3218, allocations: 63.72 kB / 0.5608 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.3219, allocations: 43.7 kB / 0.5609 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.322, allocations: 8 kB / 0.5609 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.3221, allocations: 51.97 kB / 0.5609 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.097e-05/0.3222, allocations: 35.86 kB / 0.5609 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.565e-05/0.3222, allocations: 35.73 kB / 0.561 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.3226, allocations: 150.1 kB / 0.5611 GB, free: 3.742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3226, allocations: 0 / 0.5611 GB, free: 3.742 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3226, allocations: 7.875 kB / 0.5611 GB, free: 3.734 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.3226, allocations: 0 / 0.5611 GB, free: 3.734 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.0008008/0.3234, allocations: 415 kB / 0.5615 GB, free: 3.293 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.3234, allocations: 8.031 kB / 0.5615 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.134e-05/0.3235, allocations: 20.84 kB / 0.5616 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004627/0.3239, allocations: 178.9 kB / 0.5617 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.324, allocations: 4.375 kB / 0.5617 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.324, allocations: 12.12 kB / 0.5617 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.3243, allocations: 129.9 kB / 0.5619 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3243, allocations: 0 / 0.5619 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.3243, allocations: 8 kB / 0.5619 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.3243, allocations: 4 kB / 0.5619 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002056/0.3245, allocations: 51.89 kB / 0.5619 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006165/0.3251, allocations: 452.7 kB / 0.5624 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000342/0.3255, allocations: 86.64 kB / 0.5624 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.65e-05/0.3256, allocations: 32.84 kB / 0.5625 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.3256, allocations: 0 / 0.5625 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000221/0.3258, allocations: 117 kB / 0.5626 GB, free: 2.094 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.3258, allocations: 0 / 0.5626 GB, free: 2.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003991/0.3262, allocations: 149.5 kB / 0.5627 GB, free: 1.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.3263, allocations: 55.41 kB / 0.5628 GB, free: 1.875 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.3265, allocations: 211 kB / 0.563 GB, free: 1.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.3265, allocations: 33.7 kB / 0.563 GB, free: 1.621 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.225e-05/0.3266, allocations: 108.1 kB / 0.5631 GB, free: 1.512 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.3266, allocations: 39.67 kB / 0.5632 GB, free: 1.473 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.723e-05/0.3267, allocations: 29.72 kB / 0.5632 GB, free: 1.438 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.3269, allocations: 322.8 kB / 0.5635 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.56e-05/0.327, allocations: 31.97 kB / 0.5635 GB, free: 1.082 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.3271, allocations: 72.58 kB / 0.5636 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.3273, allocations: 96.16 kB / 0.5637 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.3273, allocations: 0 / 0.5637 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003047/0.3276, allocations: 145.5 kB / 0.5638 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3276, allocations: 4 kB / 0.5638 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.3276, allocations: 11.97 kB / 0.5638 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.3277, allocations: 0 / 0.5638 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.3278, allocations: 20 kB / 0.5639 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.3278, allocations: 11.86 kB / 0.5639 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.618e-05/0.3279, allocations: 15.95 kB / 0.5639 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.3279, allocations: 4 kB / 0.5639 GB, free: 0.6719 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.0001272/0.328, allocations: 132 kB / 0.564 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.328, allocations: 15.91 kB / 0.564 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003298/0.3284, allocations: 135 kB / 0.5642 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.3284, allocations: 4 kB / 0.5642 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.3284, allocations: 3.938 kB / 0.5642 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3284, allocations: 0 / 0.5642 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.3286, allocations: 149.3 kB / 0.5643 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3286, allocations: 0 / 0.5643 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.397e-05/0.3287, allocations: 15.98 kB / 0.5643 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3287, allocations: 0 / 0.5643 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.3287, allocations: 0 / 0.5643 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3287, allocations: 7.938 kB / 0.5643 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3287, allocations: 0 / 0.5643 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004224/0.3291, allocations: 201.1 kB / 0.5645 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.517e-05/0.3291, allocations: 11.94 kB / 0.5645 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.3292, allocations: 12 kB / 0.5645 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.521e-05/0.3292, allocations: 7.984 kB / 0.5645 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.3293, allocations: 7.984 kB / 0.5646 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.3293, allocations: 3.938 kB / 0.5646 GB, free: 15.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001409/0.3294, allocations: 151.1 kB / 0.5647 GB, free: 15.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3294, allocations: 4.062 kB / 0.5647 GB, free: 15.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.3297, allocations: 27.94 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.001654/0.3313, allocations: 430.2 kB / 0.5651 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002607/0.3316, allocations: 83.83 kB / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3316, allocations: 0 / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.3317, allocations: 39.97 kB / 0.5653 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.332, allocations: 44.42 kB / 0.5653 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005686/0.3326, allocations: 287.3 kB / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.3327, allocations: 105.8 kB / 0.5657 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.846e-05/0.3328, allocations: 21.41 kB / 0.5657 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.934e-05/0.3328, allocations: 19.44 kB / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3328, allocations: 0 / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of Templates: time 0.005754/0.3386, allocations: 2.122 MB / 0.5678 GB, free: 12.77 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.287981763482094]